test.runner.DiscoverRunner
  • References/Python/Django/Guides

class DiscoverRunner(pattern='test*.py', top_level=None, verbosity=1, interactive=True, failfast=False, keepdb=False, reverse=False, debug_sql=False, **kwargs)

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

expire_date A datetime designating when the session expires. Expired sessions are not available

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

get_short_name() A short, informal identifier for the user. A common interpretation would be the first name of the user, but

2025-01-10 15:47:30
forms.formsets.BaseFormSet.total_error_count()
  • References/Python/Django/Guides

BaseFormSet.total_error_count() [source] To check how many errors there are in the formset

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

class TransactionTestCase [source] TransactionTestCase inherits from

2025-01-10 15:47:30
http.Http404
  • References/Python/Django/Guides

class django.http.Http404 When you return an error such as

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

get_connection(backend=None, fail_silently=False, *args, **kwargs) [source] By default, a

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

Page.start_index() [source] Returns the 1-based index of the first object on the page, relative

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

TransactionTestCase.assertQuerysetEqual(qs, values, transform=repr, ordered=True, msg=None) [source]

2025-01-10 15:47:30
Database access optimization
  • References/Python/Django/Guides

Django’s database layer provides various ways to help developers get the most out of their databases. This document gathers together links to the relevant documentation, and

2025-01-10 15:47:30