admin.AdminSite.add_action()
  • References/Python/Django/API/Admin actions

AdminSite.add_action(action, name=None) [source] Some actions are best if they’re made available

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

point_count Returns the number of points used to describe this geometry:

2025-01-10 15:47:30
auth.models.User.get_short_name()
  • References/Python/Django/API/contrib packages/django.contrib.auth

get_short_name() Returns the first_name.

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

File.save(name, content, save=True) Saves a new file with the file name and contents provided. This will not replace the existing

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

Field.label The label argument lets you specify the “human-friendly” label for this field. This is used when the

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

GEOSGeometry.simplify(tolerance=0.0, preserve_topology=False) Returns a new GEOSGeometry, simplified to the specified

2025-01-10 15:47:30
redirects.middleware.RedirectFallbackMiddleware.response_redirect_class
  • References/Python/Django/API/contrib packages/The redirects app

response_redirect_class The

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

GEOSGeometry.area This property returns the area of the Geometry.

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

ModelAdmin.raw_id_fields By default, Django’s admin uses a select-box interface (<select>) for fields that are ForeignKey

2025-01-10 15:47:30
views.generic.base.RedirectView
  • References/Python/Django/API/Built-in class-based views API/Base views

class django.views.generic.base.RedirectView Redirects to a given URL. The given URL may contain

2025-01-10 15:47:30