postgres.operations.UnaccentExtension
  • References/Python/Django/API/Database migration operations

class UnaccentExtension [source] Installs the unaccent extension.

2025-01-10 15:47:30
utils.timezone.localtime()
  • References/Python/Django/API/Django Utils

localtime(value, timezone=None) [source] Converts an aware

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

Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.

2025-01-10 15:47:30
gis.geos.GEOSGeometry.sym_difference()
  • References/Python/Django/API/GEOS API

GEOSGeometry.sym_difference(other) Returns a GEOSGeometry combining the points in this geometry not in other, and

2025-01-10 15:47:30
db.models.functions.datetime.ExtractYear
  • References/Python/Django/API/Models/Database Functions

class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name

2025-01-10 15:47:30
admin.ModelAdmin.exclude
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.exclude This attribute, if given, should be a list of field names to exclude from the form. For

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

fid Returns the feature identifier within the layer: >>>

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.geoip.GeoIP.lat_lon()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.lat_lon(query) Returns a coordinate tuple of (latitude, longitude),

2025-01-10 15:47:30
views.generic.base.ContextMixin
  • References/Python/Django/API/Simple mixins

class django.views.generic.base.ContextMixin Methods

2025-01-10 15:47:30