vary_on_cookie(func) [source]
savepoint(using=None) [source] Creates a new savepoint. This marks a point in the transaction
__setitem__(key, value) Example: request.session['fav_color'] = 'blue'
override_settings() [source] In case you want to override a setting for a test method, Django
receiver(signal) [source]
get_expire_at_browser_close() Returns either True or False, depending on whether the user’s session
class models.CustomUser USERNAME_FIELD A string describing the name of the
get_user_model() [source] Instead of referring to
get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions
class models.CustomUserManager create_user(*username_field*, password=None, **other_fields)
Page 8 of 35