auth.mixins.AccessMixin.raise_exception
  • References/Python/Django/Guides

raise_exception If this attribute is set to True, a PermissionDenied exception will be raised instead

2025-01-10 15:47:30
core.cache.utils.make_template_fragment_key()
  • References/Python/Django/Guides

django.core.cache.utils.make_template_fragment_key(fragment_name, vary_on=None) If you want to obtain the cache key used for

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

get_expiry_date() Returns the date this session will expire. For sessions with no custom expiration (or those set to expire

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

update_session_auth_hash(request, user) [source] This function takes the current request

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

wsgi_request The WSGIRequest instance generated by the test handler that generated the response.

2025-01-10 15:47:30
test.runner.DiscoverRunner.teardown_test_environment()
  • References/Python/Django/Guides

DiscoverRunner.teardown_test_environment(**kwargs) Restores the pre-test environment.

2025-01-10 15:47:30
auth.models.AbstractBaseUser.is_anonymous
  • References/Python/Django/Guides

is_anonymous Read-only attribute which is always False. This is a way of differentiating

2025-01-10 15:47:30
auth.password_validation.UserAttributeSimilarityValidator
  • References/Python/Django/Guides

class UserAttributeSimilarityValidator(user_attributes=DEFAULT_USER_ATTRIBUTES, max_similarity=0.7) [source]

2025-01-10 15:47:30
test.skipIfDBFeature()
  • References/Python/Django/Guides

skipIfDBFeature(*feature_name_strings) [source] Skip the decorated test or TestCase

2025-01-10 15:47:30
views.i18n.JavaScriptCatalog
  • References/Python/Django/Guides

class JavaScriptCatalog [source] A view that produces a JavaScript code library with functions

2025-01-10 15:47:30