gis.geoip.GeoIP.country_info

GeoIP.country_info This property returns information about the GeoIP country database.

admin.ModelAdmin.fieldsets

ModelAdmin.fieldsets Set fieldsets to control the layout of admin “add” and “change” pages. fieldsets is a list of two-tuples, in which each two-tuple represents a <fieldset> on the admin form page. (A <fieldset> is a “section” of the form.) The two-tuples are in the format (name, field_options), where name is a string representing the title of the fieldset and field_options is a dictionary of information about the fieldset, including a list of fields to be displayed in it. A ful

views.generic.list.MultipleObjectMixin.get_paginator()

get_paginator(queryset, per_page, orphans=0, allow_empty_first_page=True) Returns an instance of the paginator to use for this view. By default, instantiates an instance of paginator_class.

db.models.EmailField

class EmailField(max_length=254, **options) [source] A CharField that checks that the value is a valid email address. It uses EmailValidator to validate the input.

utils.functional.allow_lazy()

allow_lazy(func, *resultclasses) [source] Deprecated since version 1.10. Works like keep_lazy() except that it can’t be used as a decorator.

auth.backends.AllowAllUsersRemoteUserBackend

class AllowAllUsersRemoteUserBackend New in Django 1.10. Same as RemoteUserBackend except that it doesn’t reject inactive users because user_can_authenticate always returns True.

db.models.Model.pk

Model.pk Regardless of whether you define a primary key field yourself, or let Django supply one for you, each model will have a property called pk. It behaves like a normal attribute on the model, but is actually an alias for whichever attribute is the primary key field for the model. You can read and set this value, just as you would for any other attribute, and it will update the correct field in the model.

db.migrations.operations.RenameField

class RenameField(model_name, old_name, new_name) [source] Changes a field’s name (and, unless db_column is set, its column name).

views.generic.dates.MonthMixin.month

month Optional The value for the month, as a string. By default, set to None, which means the month will be determined using other means.

admin.InlineModelAdmin.fk_name

InlineModelAdmin.fk_name The name of the foreign key on the model. In most cases this will be dealt with automatically, but fk_name must be specified explicitly if there are more than one foreign key to the same parent model.