forms.DateField
  • References/Python/Django/API/Forms/Form fields

class DateField(**kwargs) [source] Default widget:

2025-01-10 15:47:30
views.generic.detail.SingleObjectMixin.get_slug_field()
  • References/Python/Django/API/Single object mixins

get_slug_field() Returns the name of a slug field to be used to look up by slug. By default this simply returns the value of

2025-01-10 15:47:30
gis.gdal.DataSource.layer_count
  • References/Python/Django/API/GDAL API

layer_count Returns the number of layers in the data source.

2025-01-10 15:47:30
views.generic.dates.MonthMixin.get_month()
  • References/Python/Django/API/Date-based mixins

get_month() [source] Returns the month for which this view will display data, as a string

2025-01-10 15:47:30
auth.models.User.email_user()
  • References/Python/Django/API/contrib packages/django.contrib.auth

email_user(subject, message, from_email=None, **kwargs) Sends an email to the user. If from_email is None

2025-01-10 15:47:30
gis.db.models.functions.AsGeoJSON
  • References/Python/Django/API/Geographic Database Functions

class AsGeoJSON(expression, bbox=False, crs=False, precision=8, **extra) Availability: PostGIS, SpatiaLite

2025-01-10 15:47:30
auth.password_validation.password_changed()
  • References/Python/Django/Guides

password_changed(password, user=None, password_validators=None) [source] Informs all validators

2025-01-10 15:47:30
postgres.forms.DateTimeRangeField
  • References/Python/Django/API/PostgreSQL specific form fields and widgets

class DateTimeRangeField [source] Based on

2025-01-10 15:47:30
db.models.Field.is_relation
  • References/Python/Django/API/Models/Model field reference

Field.is_relation Boolean flag that indicates if a field contains references to one or more other models for its functionality

2025-01-10 15:47:30
forms.FilePathField.allow_files
  • References/Python/Django/API/Forms/Form fields

allow_files Optional. Either True or False. Default is True. Specifies whether files

2025-01-10 15:47:30