class documentation

class override_settings(TestContextDecorator):

Known subclasses: django.test.utils.modify_settings

View In Hierarchy

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​_class Undocumented
Method disable Undocumented
Method enable Undocumented
Method save​_options Undocumented
Instance Variable enable​_exception Undocumented
Instance Variable options Undocumented
Instance Variable wrapped Undocumented

Inherited from TestContextDecorator:

Method __call__ Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Method decorate​_callable Undocumented
Instance Variable attr​_name Undocumented
Instance Variable kwarg​_name Undocumented
def __init__(self, **kwargs):
def decorate_class(self, cls):
def disable(self):
def enable(self):
def save_options(self, test_func):

Undocumented

enable_exception =

Undocumented

options =

Undocumented

wrapped =

Undocumented