- Language: en
21 results for constant in version 2.0
-
System check framework
- … constantly warned about not having enabled SECURE_SSL_REDIRECT . Use SILENCED_SYSTEM_CHECKS to silence …
-
Query Expressions
- … constants, variables, and even other expressions. Some examples from django.db.models import Count , F , Value from …
-
Form fields
- … constant, you can also pass any callable: >>> import datetime >>> class …
-
Django version 0.95 release notes
- … constants now appear in the module namespace they were defined in. (Previously everything was magically …
-
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 …
-
Django Deprecation Timeline
- … constants: DEFAULT_DATE_INPUT_FORMATS , DEFAULT_TIME_INPUT_FORMATS and DEFAULT_DATETIME_INPUT_FORMATS will …
-
Django Exceptions
- … constant is used as a key in dictionaries that otherwise map fields to their respective …
-
Model field reference
- … constant for each value: from django.db import models class Student ( models . Model ): FRESHMAN = 'FR' SOPHOMORE …
-
Templates
- … constants directly in jinja2.Environment . The original use case for adding context processors for Jinja2 involved …
-
Built-in template tags and filters
- … constant. For example: < img src = "bar.png" alt = "Bar" height = "10" width …
-
GDAL API
- … constant between 0 (Unknown) and 11. If as_string is True , the data type is returned …