- Language: en
24 results for constant in version 5.0
-
Django Deprecation Timeline
- … constants: DEFAULT_DATE_INPUT_FORMATS , DEFAULT_TIME_INPUT_FORMATS and DEFAULT_DATETIME_INPUT_FORMATS will …
-
Templates
- … constants directly in jinja2.Environment . The original use case for adding context processors for Jinja2 involved …
-
System check framework
- … constantly warned about not having enabled SECURE_SSL_REDIRECT . Use SILENCED_SYSTEM_CHECKS to silence …
-
Multiple databases
- … constant for the name of the alternate database. using = "other" def save_model …
-
GDAL API
- … constant between 0 (Unknown) and 14. If as_string is True , the data type is returned …
-
Query Expressions
- … constants, variables, and even other expressions. Output field Many of the expressions documented in this …
-
Django Exceptions
- … constant is used as a key in dictionaries that otherwise map fields to their respective …
-
Form fields
- … constant, you can also pass any callable: >>> import datetime >>> class …
-
Django 4.0 release notes
- … constant is moved from django.template.base to django.utils.translation.template . The real_apps argument of the undocumented django.db.migrations.state.ProjectState …
-
Model field reference
- … constant for each value: from django.db import models class Student ( models . Model ): FRESHMAN = "FR" SOPHOMORE …