auth.models.CustomUserManager.create_superuser()
  • References/Python/Django/Guides

create_superuser(*username_field*, password, **other_fields) The prototype of create_superuser() should accept

2025-01-10 15:47:30
sessions.backends.cached_db.SessionStore.cache_key_prefix
  • References/Python/Django/Guides

cache_key_prefix New in Django 1.9. A

2025-01-10 15:47:30
core.signing.loads()
  • References/Python/Django/Guides

loads(string, key=None, salt='django.core.signing', max_age=None) [source] Reverse of dumps()

2025-01-10 15:47:30
sessions.base_session.BaseSessionManager.encode()
  • References/Python/Django/Guides

encode(session_dict) Returns the given session dictionary serialized and encoded as a string. Encoding

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

permission_denied_message Default return value for get_permission_denied_message(). Defaults to an empty string

2025-01-10 15:47:30
core.paginator.Page.has_previous()
  • References/Python/Django/Guides

Page.has_previous() [source] Returns True if there’s a previous page.

2025-01-10 15:47:30
core.paginator.Page.has_next()
  • References/Python/Django/Guides

Page.has_next() [source] Returns True if there’s a next page.

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

get_decoded() Returns decoded session data. Decoding is performed by the session store class

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

login_required(redirect_field_name='next', login_url=None) [source] As a shortcut, you can

2025-01-10 15:47:30
core.paginator.Paginator
  • References/Python/Django/Guides

class Paginator(object_list, per_page, orphans=0, allow_empty_first_page=True) [source]

2025-01-10 15:47:30