views.generic.dates.WeekMixin.get_prev_week()
  • References/Python/Django/API/Date-based mixins

get_prev_week(date) Returns a date object containing the first day of the week before the date provided. This function can also

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

geom_type Returns the type of geometry for this feature, as an OGRGeomType object. This will be the same for all

2025-01-10 15:47:30
db.models.Options.verbose_name
  • References/Python/Django/API/Models/Model Meta options

Options.verbose_name A human-readable name for the object, singular:

2025-01-10 15:47:30
views.decorators.csrf.csrf_protect()
  • References/Python/Django/API/Cross Site Request Forgery protection

csrf_protect(view) Decorator that provides the protection of CsrfViewMiddleware to a view.

2025-01-10 15:47:30
core.files.File.write()
  • References/Python/Django/API/File handling/The File object

write(content) Writes the specified content string to the file. Depending on the storage system behind the scenes, this content

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

require_all_fields Defaults to True, in which case a required validation error will be raised if no

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

class Field(**kwargs) [source] When you create a Form class, the most important

2025-01-10 15:47:30
db.models.options.Options.get_fields()
  • References/Python/Django/API/Models/Model _meta API

Options.get_fields(include_parents=True, include_hidden=False) [source] Returns a tuple of

2025-01-10 15:47:30
gis.gdal.OGRGeometry.union()
  • References/Python/Django/API/GDAL API

union() Returns the region consisting of the union of this geometry and the other, as a new OGRGeometry object

2025-01-10 15:47:30
Django Exceptions
  • References/Python/Django/API/Django Exceptions

Django raises some of its own exceptions as well as standard Python exceptions. Django Core Exceptions Django

2025-01-10 15:47:30