sessions.base_session.BaseSessionManager
  • References/Python/Django/Guides

class base_session.BaseSessionManager New in Django 1.9.

2025-01-10 15:47:30
core.serializers.json.DjangoJSONEncoder
  • References/Python/Django/Guides

class django.core.serializers.json.DjangoJSONEncoder The JSON serializer uses DjangoJSONEncoder for encoding. A

2025-01-10 15:47:30
utils.log.AdminEmailHandler.send_mail()
  • References/Python/Django/Guides

send_mail(subject, message, *args, **kwargs) [source] Sends emails to admin users. To customize

2025-01-10 15:47:30
db.transaction.savepoint_rollback()
  • References/Python/Django/Guides

savepoint_rollback(sid, using=None) [source] Rolls back the transaction to savepoint sid

2025-01-10 15:47:30
Form handling with class-based views
  • References/Python/Django/Guides

Form processing generally has 3 paths: Initial GET (blank or prepopulated form) POST with invalid data (typically

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

SimpleTestCase.assertRaisesMessage(expected_exception, expected_message, callable, *args, **kwargs) [source] SimpleTestCase

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

has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the

2025-01-10 15:47:30
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
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
shortcuts.render()
  • References/Python/Django/Guides

render(request, template_name, context=None, content_type=None, status=None, using=None) [source] Combines

2025-01-10 15:47:30