db.models.Field.many_to_one

Field.many_to_one Boolean flag that is True if the field has a many-to-one relation, such as a ForeignKey; False otherwise.

auth.views.password_reset_done()

password_reset_done(request, template_name='registration/password_reset_done.html', current_app=None, extra_context=None) The page shown after a user has been emailed a link to reset their password. This view is called by default if the password_reset() view doesn’t have an explicit post_reset_redirect URL set. URL name: password_reset_done Note If the email address provided does not exist in the system, the user is inactive, or has an unusable password, the user will still be redirected to

db.models.DecimalField

class DecimalField(max_digits=None, decimal_places=None, **options) [source] A fixed-precision decimal number, represented in Python by a Decimal instance. Has two required arguments:

core.validators.RegexValidator.flags

flags The flags used when compiling the regular expression string regex. If regex is a pre-compiled regular expression, and flags is overridden, TypeError is raised. Defaults to 0.

views.generic.edit.ModelFormMixin.form_invalid()

form_invalid() Renders a response, providing the invalid form as context.

core.files.images.ImageFile.height

height Height of the image in pixels.

gis.geoip.GeoIP.region_by_addr()

GeoIP.region_by_addr(query)

gis.gdal.OGRGeometry.point_count

point_count Returns the number of points used to describe this geometry: >>> polygon.point_count 4

utils.translation.check_for_language()

check_for_language(lang_code) [source] Checks whether there is a global language file for the given language code (e.g. ‘fr’, ‘pt_BR’). This is used to decide whether a user-provided language is available.

gis.gdal.OGRGeometry.area

area Returns the area of this geometry, or 0 for geometries that do not contain an area: >>> polygon.area 25.0