apps.apps.is_installed()
  • References/Python/Django/API/Applications

apps.is_installed(app_name) Checks whether an application with the given name exists in the registry. app_name

2025-01-10 15:47:30
db.models.Avg
  • References/Python/Django/API/Models/QuerySet API reference

class Avg(expression, output_field=FloatField(), **extra) [source] Returns the mean value

2025-01-10 15:47:30
db.models.fields.files.FieldFile.name
  • References/Python/Django/API/Models/Model field reference

FieldFile.name The name of the file including the relative path from the root of the

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

relabeled_clone(change_map) Returns a clone (copy) of self, with any column aliases relabeled. Column aliases are

2025-01-10 15:47:30
template.loaders.base.Loader.get_template_sources()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

get_template_sources(template_name) [source] A method that takes a template_name

2025-01-10 15:47:30
db.models.prefetch_related_objects()
  • References/Python/Django/API/Models/QuerySet API reference

prefetch_related_objects(model_instances, *related_lookups) [source]

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

CASCADE [source] Cascade deletes. Django emulates the behavior of the SQL constraint ON DELETE

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

GEOSGeometry.touches(other) Returns True if the DE-9IM intersection matrix for the two geometries is FT*******

2025-01-10 15:47:30
auth.validators.UnicodeUsernameValidator
  • References/Python/Django/API/contrib packages/django.contrib.auth

class validators.UnicodeUsernameValidator New in Django 1.10.

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

groups Many-to-many relationship to Group

2025-01-10 15:47:30