views.generic.dates.BaseDateListView.get_dated_queryset()
  • References/Python/Django/API/Date-based mixins

get_dated_queryset(**lookup) [source] Returns a queryset, filtered using the query arguments

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

paginate_orphans An integer specifying the number of “overflow” objects the last page can contain. This extends the paginate_by

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

get_ordering() Returns a string (or iterable of strings) that defines the ordering that will be applied to the queryset

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

__getitem__(target) Returns the value of the given string attribute node, None if the node doesn’t exist. Can also

2025-01-10 15:47:30
auth.models.PermissionsMixin.has_perm()
  • References/Python/Django/Guides

has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the

2025-01-10 15:47:30
auth.mixins.AccessMixin.raise_exception
  • References/Python/Django/Guides

raise_exception If this attribute is set to True, a PermissionDenied exception will be raised instead

2025-01-10 15:47:30
db.models.Expression.set_source_expressions()
  • References/Python/Django/API/Models/Query Expressions

set_source_expressions(expressions) Takes a list of expressions and stores them such that get_source_expressions()

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

escape(text) [source] Returns the given text with ampersands, quotes and angle brackets encoded

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

DiscoverRunner.teardown_test_environment(**kwargs) Restores the pre-test environment.

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

ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable

2025-01-10 15:47:30