auth.models.AbstractBaseUser.clean()
  • References/Python/Django/Guides

clean() New in Django 1.10. Normalizes

2025-01-10 15:47:30
views.decorators.cache.cache_control()
  • References/Python/Django/Guides

cache_control(**kwargs) [source] This decorator patches the response’s Cache-Control

2025-01-10 15:47:30
auth.mixins.AccessMixin.handle_no_permission()
  • References/Python/Django/Guides

handle_no_permission() Depending on the value of raise_exception, the method either raises a PermissionDenied

2025-01-10 15:47:30
test.Client.cookies
  • References/Python/Django/Guides

Client.cookies A Python

2025-01-10 15:47:30
auth.models.CustomUserManager.create_user()
  • References/Python/Django/Guides

create_user(*username_field*, password=None, **other_fields) The prototype of create_user() should accept the username

2025-01-10 15:47:30
auth.hashers.is_password_usable()
  • References/Python/Django/Guides

is_password_usable(encoded_password) [source] Checks if the given string is a hashed password

2025-01-10 15:47:30
views.decorators.http.condition()
  • References/Python/Django/Guides

condition(etag_func=None, last_modified_func=None) [source]

2025-01-10 15:47:30
test.Response.status_code
  • References/Python/Django/Guides

status_code The HTTP status of the response, as an integer. For a full list of defined codes, see the

2025-01-10 15:47:30
sessions.base_session.AbstractBaseSession
  • References/Python/Django/Guides

class base_session.AbstractBaseSession New in Django 1.9.

2025-01-10 15:47:30
sessions.backends.base.SessionBase.
  • References/Python/Django/Guides

__delitem__(key) Example: del request.session['fav_color']. This raises KeyError if the given key

2025-01-10 15:47:30