forms.Form.required_css_class
  • References/Python/Django/API/Forms/The Forms API

Form.required_css_class It’s pretty common to style form rows and fields that are required or have errors. For example, you

2025-01-10 15:47:30
db.transaction.set_rollback()
  • References/Python/Django/Guides

set_rollback(rollback, using=None) [source] Setting the rollback flag to True

2025-01-10 15:47:30
contenttypes.models.ContentTypeManager.get_for_model()
  • References/Python/Django/API/contrib packages/The contenttypes framework

get_for_model(model, for_concrete_model=True) Takes either a model class or an instance of a model, and returns the ContentType

2025-01-10 15:47:30
core.files.storage.Storage.generate_filename()
  • References/Python/Django/API/File handling/File storage API

generate_filename(filename) [source] New in Django

2025-01-10 15:47:30
gis.db.models.GeoQuerySet.sym_difference()
  • References/Python/Django/API/GeoQuerySet API Reference

GeoQuerySet.sym_difference(geom) Deprecated since version 1.9: Use

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

django Returns the Django field type (a subclass of GeometryField) to use for storing this OGR type, or None if

2025-01-10 15:47:30
db.migrations.operations.SeparateDatabaseAndState
  • References/Python/Django/API/Migration Operations

class SeparateDatabaseAndState(database_operations=None, state_operations=None) [source] A

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

class Feature Feature wraps an OGR feature. You never create a Feature object directly. Instead, you

2025-01-10 15:47:30
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.geos.GEOSGeometry.valid_reason
  • References/Python/Django/API/GEOS API

GEOSGeometry.valid_reason Returns a string describing the reason why a geometry is invalid.

2025-01-10 15:47:30