cf.active_storage_url¶
- cf.active_storage_url(*arg)[source]¶
The URL location of the active storage reducer.
Added in version 3.16.3.
- Parameters:
- Returns:
Constant
The value prior to the change, or the current value if no new value was specified.
Examples
>>> print(cf.active_storage_url()) None >>> with cf.active_storage_url('http://active/storage/location'): ... print(cf.active_storage_url()) ... 'http://active/storage/location' >>> print(cf.active_storage_url()) None >>> print(cf.active_storage_url('http://other/location')) None >>> cf.active_storage_url() 'http://other/location'