class documentation
class override_settings(TestContextDecorator): (source)
Known subclasses: django.test.utils.modify_settings
Act as either a decorator or a context manager. If it's a decorator, take a function and return a wrapped function. If it's a contextmanager, use it with the ``with`` statement. In either event, entering/exiting are called before and after, respectively, the function/block is executed.
Method | __init__ |
Undocumented |
Method | decorate |
Undocumented |
Method | disable |
Undocumented |
Method | enable |
Undocumented |
Method | save |
Undocumented |
Instance Variable | enable |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | wrapped |
Undocumented |
Inherited from TestContextDecorator
:
Method | __call__ |
Undocumented |
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | decorate |
Undocumented |
Instance Variable | attr |
Undocumented |
Instance Variable | kwarg |
Undocumented |