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.functions.ForceRHR
  • References/Python/Django/API/Geographic Database Functions

class ForceRHR(expression, **extra) Availability:

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

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

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

touches(other) Returns True if this geometry touches the other, otherwise returns False.

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
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
views.generic.edit.ModelFormMixin
  • References/Python/Django/API/Editing mixins

class django.views.generic.edit.ModelFormMixin A form mixin that works on ModelForms, rather than a standalone

2025-01-10 15:47:30
db.models.Func.function
  • References/Python/Django/API/Models/Query Expressions

function A class attribute describing the function that will be generated. Specifically, the function will be interpolated

2025-01-10 15:47:30