admin.InlineModelAdmin.get_min_num()
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.get_min_num(request, obj=None, **kwargs) Returns the minimum number of inline forms to use. By default, returns

2025-01-10 15:47:30
test.runner.DiscoverRunner.setup_databases()
  • References/Python/Django/Guides

DiscoverRunner.setup_databases(**kwargs) Creates the test databases. Returns a data structure

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

clean_savepoints(using=None) [source] Resets the counter used to generate unique savepoint

2025-01-10 15:47:30
gis.db.models.GeometryField.geography
  • References/Python/Django/API/GeoDjango Model API

GeometryField.geography If set to True, this option will create a database column of type geography, rather than

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

GEOSGeometry.num_coords Returns the number of coordinates in the geometry.

2025-01-10 15:47:30
forms.Widget.attrs
  • References/Python/Django/API/Forms/Widgets

attrs A dictionary containing HTML attributes to be set on the rendered widget. >>>

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

kml Returns a string representation of this geometry in KML format.

2025-01-10 15:47:30
conf.urls.url()
  • References/Python/Django/API/django.conf.urls utility functions

url(regex, view, kwargs=None, name=None) [source] urlpatterns should be a list

2025-01-10 15:47:30
postgres.fields.ArrayField
  • References/Python/Django/API/PostgreSQL specific model fields

class ArrayField(base_field, size=None, **options) [source] A field for storing lists of

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

GeoQuerySet.envelope(**kwargs) Deprecated since version 1.9: Use

2025-01-10 15:47:30