- Language: en
23 results for constant in version 2.2
-
Templates
- … constants directly in jinja2.Environment . The original use case for adding context processors for Jinja2 involved …
-
Django Deprecation Timeline
- … constants: DEFAULT_DATE_INPUT_FORMATS , DEFAULT_TIME_INPUT_FORMATS and DEFAULT_DATETIME_INPUT_FORMATS will …
-
Form fields
- … constant, you can also pass any callable: >>> import datetime >>> class …
-
GDAL API
- … constant between 0 (Unknown) and 11. If as_string is True , the data type is returned …
-
System check framework
- … constantly warned about not having enabled SECURE_SSL_REDIRECT . Use SILENCED_SYSTEM_CHECKS to silence …
-
Built-in template tags and filters
- … constant. For example: < img src = "bar.png" alt = "Bar" height = "10" width …
-
Coding style
- … CONSTANT = 'foo' class Example : # ... Use convenience imports whenever available. For example, do this …
-
Porting your apps from Django 0.96 to 1.0
- … constant moved from django.contrib.auth into the settings module. Instead of using from django.contrib.auth import LOGIN …
-
Database Functions
- … constant π . Power class Power ( expression1 , expression2 , **extra ) [source] Accepts two numeric fields or expressions …
-
Django version 0.95 release notes
- … constants now appear in the module namespace they were defined in. (Previously everything was magically …
-
Django Exceptions
- … constant is used as a key in dictionaries that otherwise map fields to their respective …
-
Multiple databases
- … constant for the name of the alternate database. using = 'other' def save_model …
-
Query Expressions
- … constants, variables, and even other expressions. Changed in Django 2.1: Support for negation was added …