core.validators.MinValueValidator

class MinValueValidator(min_value, message=None) [source] Raises a ValidationError with a code of 'min_value' if value is less than min_value.

forms.SplitDateTimeField.input_time_formats

input_time_formats A list of formats used to attempt to convert a string to a valid datetime.time object. If no input_time_formats argument is provided, the default input formats for TimeField are used.

db.transaction.savepoint_rollback()

savepoint_rollback(sid, using=None) [source] Rolls back the transaction to savepoint sid. These functions do nothing if savepoints aren’t supported or if the database is in autocommit mode. In addition, there’s a utility function:

Examples of model relationship API usage

Many-to-many relationships Many-to-one relationships One-to-one relationships

db.models.BigAutoField

class BigAutoField(**options) [source] New in Django 1.10. A 64-bit integer, much like an AutoField except that it is guaranteed to fit numbers from 1 to 9223372036854775807.

db.models.Min

class Min(expression, output_field=None, **extra) [source] Returns the minimum value of the given expression. Default alias: <field>__min Return type: same as input field, or output_field if supplied

admin.ModelAdmin.change_list_template

ModelAdmin.change_list_template Path to a custom template, used by changelist_view().

core.checks.Info

class Info(msg, hint=None, obj=None, id=None) [source]

Settings

Core Settings Auth Messages Sessions Sites Static Files Core Settings Topical Index Warning Be careful when you override settings, especially when the default value is a non-empty list or dictionary, such as MIDDLEWARE_CLASSES and STATICFILES_FINDERS. Make sure you keep the components required by the features of Django you wish to use. Core Settings Here’s a list of settings available in Django core and their default values. Settings provided by contrib apps are listed below, followed by a

gis.gdal.Point.x

x Returns the X coordinate of this point: >>> OGRGeometry('POINT (1 2)').x 1.0