views.generic.dates.BaseMonthArchiveView

class BaseMonthArchiveView [source]

http.HttpResponse.readable()

HttpResponse.readable() New in Django 1.10: Always False. This method makes an HttpResponse instance a stream-like object.

auth.models.User.set_unusable_password()

set_unusable_password() Marks the user as having no password set. This isn’t the same as having a blank string for a password. check_password() for this user will never return True. Doesn’t save the User object. You may need this if authentication for your application takes place against an existing external source such as an LDAP directory.

utils.feedgenerator.Enclosure

class Enclosure [source] Represents an RSS enclosure

postgres.forms.RangeWidget.decompress()

decompress(value) Takes a single “compressed” value of a field, for example a DateRangeField, and returns a tuple representing and lower and upper bound.

utils.http.urlquote_plus()

urlquote_plus(url, safe='') [source] A version of Python’s urllib.quote_plus() function that can operate on unicode strings. The url is first UTF-8 encoded before quoting. The returned string can safely be used as part of an argument to a subsequent iri_to_uri() call without double-quoting occurring. Employs lazy execution.

gis.widgets.BaseGeometryWidget

class BaseGeometryWidget This is an abstract base widget containing the logic needed by subclasses. You cannot directly use this widget for a geometry field. Note that the rendering of GeoDjango widgets is based on a template, identified by the template_name class attribute. OpenLayersWidget

utils.html.conditional_escape()

conditional_escape(text) [source] Similar to escape(), except that it doesn’t operate on pre-escaped strings, so it will not double escape.

utils.dateparse.parse_datetime()

parse_datetime(value) [source] Parses a string and returns a datetime.datetime. UTC offsets are supported; if value describes one, the result’s tzinfo attribute is a FixedOffset instance.

db.models.Expression.convert_value()

convert_value(self, value, expression, connection, context) A hook allowing the expression to coerce value into a more appropriate type.