views.i18n.json_catalog()
  • References/Python/Django/Guides

json_catalog(request, domain='djangojs', packages=None) [source]

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

login(**credentials) [source] If your site uses Django’s authentication

2025-01-10 15:47:30
Performance and optimization
  • References/Python/Django/Guides

This document provides an overview of techniques and tools that can help get your Django code running more efficiently - faster, and using fewer system resources.

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

class models.BaseUserManager classmethod normalize_email(email) Normalizes

2025-01-10 15:47:30
forms.ModelForm
  • References/Python/Django/Guides

class ModelForm [source] If you’re building a database-driven app, chances are you’ll have

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

TransactionTestCase.fixtures A test case for a database-backed website isn’t much use if there isn’t any data in the database

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

TransactionTestCase.available_apps Warning This attribute

2025-01-10 15:47:30
Time zones
  • References/Python/Django/Guides

Overview When support for time zones is enabled, Django stores datetime information in UTC in the database, uses time-zone-aware datetime

2025-01-10 15:47:30
db.models.Manager.raw()
  • References/Python/Django/Guides

Manager.raw(raw_query, params=None, translations=None) This method takes a raw SQL query, executes it, and returns a django

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

get_expiry_age() Returns the number of seconds until this session expires. For sessions with no custom expiration (or those

2025-01-10 15:47:30