auth.views.password_reset_confirm()

password_reset_confirm(request, uidb64=None, token=None, template_name='registration/password_reset_confirm.html', token_generator=default_token_generator, set_password_form=SetPasswordForm, post_reset_redirect=None, current_app=None, extra_context=None) Presents a form for entering a new password. URL name: password_reset_confirm Optional arguments: uidb64: The user’s id encoded in base 64. Defaults to None. token: Token to check that the password is valid. Defaults to None. template_nam

gis.geos.LineString.closed

closed New in Django 1.10. Returns whether or not this LineString is closed.

forms.Field.widget

Field.widget The widget argument lets you specify a Widget class to use when rendering this Field. See Widgets for more information.

auth.models.AbstractBaseUser.check_password()

check_password(raw_password) Returns True if the given raw string is the correct password for the user. (This takes care of the password hashing in making the comparison.)

postgres.forms.DateTimeRangeField

class DateTimeRangeField [source] Based on DateTimeField and translates its input into DateTimeTZRange. Default for DateTimeRangeField.

postgres.fields.IntegerRangeField

class IntegerRangeField(**options) [source] Stores a range of integers. Based on an IntegerField. Represented by an int4range in the database and a NumericRange in Python. Regardless of the bounds specified when saving the data, PostgreSQL always returns a range in a canonical form that includes the lower bound and excludes the upper bound; that is [).

postgres.search.SearchVector

class SearchVector(*expressions, config=None, weight=None) [source] Searching against a single field is great but rather limiting. The Entry instances we’re searching belong to a Blog, which has a tagline field. To query against both fields, use a SearchVector: >>> from django.contrib.postgres.search import SearchVector >>> Entry.objects.annotate( ... search=SearchVector('body_text', 'blog__tagline'), ... ).filter(search='Cheese') [<Entry: Cheese on Toast recipes>

postgres.search.TrigramDistance

class TrigramDistance(expression, string, **extra) [source] New in Django 1.10. Accepts a field name or expression, and a string or expression. Returns the trigram distance between the two arguments. Usage example: >>> from django.contrib.postgres.search import TrigramDistance >>> Author.objects.create(name='Katy Stevens') >>> Author.objects.create(name='Stephen Keats') >>> test = 'Katie Stephens' >>> Author.objects.annotate( ... distance=Tr

sessions.backends.base.SessionBase.delete_test_cookie()

delete_test_cookie() Deletes the test cookie. Use this to clean up after yourself.

sessions.base_session.AbstractBaseSession.get_decoded()

get_decoded() Returns decoded session data. Decoding is performed by the session store class.