class LazyObject:
Known subclasses: django.core.files.storage.DefaultStorage
, django.conf.LazySettings
, django.contrib.admin.sites.DefaultAdminSite
, django.contrib.staticfiles.storage.ConfiguredStorage
, django.utils.functional.SimpleLazyObject
A wrapper for another class that can be used to delay instantiation of the wrapped class.
By subclassing, you have the opportunity to intercept and alter the instantiation. If you don't need to do that, use SimpleLazyObject.
Method | __copy__ |
Undocumented |
Method | __deepcopy__ |
Undocumented |
Method | __delattr__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __reduce__ |
Undocumented |
Method | __setattr__ |
Undocumented |
Method | _setup |
Must be implemented by subclasses to initialize the wrapped object. |
Class Variable | __bool__ |
Undocumented |
Class Variable | __bytes__ |
Undocumented |
Class Variable | __class__ |
Undocumented |
Class Variable | __contains__ |
Undocumented |
Class Variable | __delitem__ |
Undocumented |
Class Variable | __dir__ |
Undocumented |
Class Variable | __eq__ |
Undocumented |
Class Variable | __getattr__ |
Undocumented |
Class Variable | __getitem__ |
Undocumented |
Class Variable | __gt__ |
Undocumented |
Class Variable | __hash__ |
Undocumented |
Class Variable | __iter__ |
Undocumented |
Class Variable | __len__ |
Undocumented |
Class Variable | __lt__ |
Undocumented |
Class Variable | __ne__ |
Undocumented |
Class Variable | __setitem__ |
Undocumented |
Class Variable | __str__ |
Undocumented |
Instance Variable | _wrapped |
Undocumented |
django.core.files.storage.DefaultStorage
, django.conf.LazySettings
, django.contrib.admin.sites.DefaultAdminSite
, django.contrib.staticfiles.storage.ConfiguredStorage
, django.utils.functional.SimpleLazyObject