def patch(target, new=DEFAULT, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs):
 (getter, attribute) = _get_target(target)
 return _patch(getter, attribute, new, spec, create, spec_set, autospec, new_callable, kwargs)

def patch ( target , new = DEFAULT , spec = None , create = False , spec_set = None , autospec = None , new_callable = None , ** kwargs ) : ( getter , attribute ) = _get_target ( target ) return _patch ( getter , attribute , new , spec , create , spec_set , autospec , new_callable , kwargs )
monkey-patch the djangousermixin class .