sessions.base_session.AbstractBaseSession.session_key

session_key Primary key. The field itself may contain up to 40 characters. The current implementation generates a 32-character string (a random sequence of digits and lowercase ASCII letters).

Handling HTTP requests

Information on handling HTTP requests in Django: URL dispatcher Writing views View decorators File Uploads Django shortcut functions Generic views Middleware How to use sessions

sessions.backends.base.SessionBase.items()

items()

gis.db.models.MultiLineStringField

class MultiLineStringField

db.models.fields.related.RelatedManager

class RelatedManager A “related manager” is a manager used in a one-to-many or many-to-many related context. This happens in two cases: The “other side” of a ForeignKey relation. That is: from django.db import models class Reporter(models.Model): # ... pass class Article(models.Model): reporter = models.ForeignKey(Reporter, on_delete=models.CASCADE) In the above example, the methods below will be available on the manager reporter.article_set. Both sides of a ManyToManyField

postgres.fields.RangeField.form_field

form_field The form field class to use. Should be a subclass of django.contrib.postgres.forms.BaseRangeField.

gis.forms.MultiPointField

class MultiPointField

auth.forms.SetPasswordForm

class SetPasswordForm A form that lets a user change their password without entering the old password.

gis.geos.GEOSGeometry.num_geom

GEOSGeometry.num_geom Returns the number of geometries in this geometry. In other words, will return 1 on anything but geometry collections.

db.models.query.QuerySet.using()

using(alias) This method is for controlling which database the QuerySet will be evaluated against if you are using more than one database. The only argument this method takes is the alias of a database, as defined in DATABASES. For example: # queries the database with the 'default' alias. >>> Entry.objects.all() # queries the database with the 'backup' alias >>> Entry.objects.using('backup')