- Language: en
27 results for constant in the development version
-
Database Functions
- … constant π . Power class Power ( expression1 , expression2 , ** extra ) [source] Accepts two numeric fields or expressions …
-
Model field reference
- … constant for each value: from django.db import models class Student ( models . Model ): FRESHMAN = "FR" SOPHOMORE …
-
Form fields
- … constant, you can also pass any callable: >>> import datetime >>> class …
-
GDAL API
- … constant between 0 (Unknown) and 14. If as_string is True , the data type is returned …
-
Django Deprecation Timeline
- … constants: DEFAULT_DATE_INPUT_FORMATS , DEFAULT_TIME_INPUT_FORMATS and DEFAULT_DATETIME_INPUT_FORMATS will …
-
Coding style
- … CONSTANT = "foo" class Example : ... Use convenience imports whenever available. For example, do this …
-
Templates
- … constants directly in jinja2.Environment . The original use case for adding context processors for Jinja2 involved …
-
Multiple databases
- … constant for the name of the alternate database. using = "other" def save_model …
-
Built-in template tags and filters
- … constant. For example: < img src = "bar.png" alt = "Bar" height = "10" width …
-
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 …