core.files.storage.Storage.listdir()
  • References/Python/Django/API/File handling/File storage API

listdir(path) [source] Lists the contents of the specified path, returning a 2-tuple of lists;

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

decorator_from_middleware_with_args(middleware_class) [source] Like decorator_from_middleware

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

base_field The model field class to use.

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

import_epsg(epsg) Import spatial reference from EPSG code.

2025-01-10 15:47:30
db.models.lookups.RegisterLookupMixin.get_lookup()
  • References/Python/Django/API/Models/Lookup API reference

get_lookup(lookup_name) Returns the Lookup named lookup_name registered in the class. The default

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.paginate_by
  • References/Python/Django/API/Multiple object mixins

paginate_by An integer specifying how many objects should be displayed per page. If this is given, the view will paginate objects

2025-01-10 15:47:30
views.generic.edit.ModelFormMixin.get_form_kwargs()
  • References/Python/Django/API/Editing mixins

get_form_kwargs() Add the current instance (self.object) to the standard get_form_kwargs().

2025-01-10 15:47:30
template.response.SimpleTemplateResponse.
  • References/Python/Django/API/Templates/TemplateResponse and SimpleTemplateResponse

SimpleTemplateResponse.__init__(template, context=None, content_type=None, status=None, charset=None, using=None) [source]

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

LogEntry.object_repr The object`s repr() after the modification.

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

first_name Optional. 30 characters or fewer.

2025-01-10 15:47:30