- Language: en
10 results for constant in version 3.2
-
Settings
- … constants as message_constants MESSAGE_LEVEL = message_constants . DEBUG If desired, you may specify the numeric …
-
The messages framework
- … constant: Level Constant Tag DEBUG debug INFO info SUCCESS success WARNING warning ERROR error To change …
-
Built-in template tags and filters
- … constant. For example: < img src = "bar.png" alt = "Bar" height = "10" width …
-
Django Exceptions
- … constant is used as a key in dictionaries that otherwise map fields to their respective …
-
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 …
-
GDAL API
- … constant between 0 (Unknown) and 11. If as_string is True , the data type is returned …
-
Form fields
- … constant, you can also pass any callable: >>> import datetime >>> class …
-
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 …