auth.models.User.has_usable_password()
  • References/Python/Django/API/contrib packages/django.contrib.auth

has_usable_password() Returns False if set_unusable_password() has been called for this user.

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

ModelAdmin.get_queryset(request) The get_queryset method on a ModelAdmin returns a

2025-01-10 15:47:30
admin.InlineModelAdmin.get_max_num()
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.get_max_num(request, obj=None, **kwargs) Returns the maximum number of extra inline forms to use. By default

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

ModelAdmin.change_view(request, object_id, form_url='', extra_context=None) [source] Django

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

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

2025-01-10 15:47:30
staticfiles.storage.CachedStaticFilesStorage
  • References/Python/Django/API/contrib packages/The staticfiles app

class storage.CachedStaticFilesStorage CachedStaticFilesStorage is a similar class like the ManifestStat

2025-01-10 15:47:30
contenttypes.models.ContentType.model
  • References/Python/Django/API/contrib packages/The contenttypes framework

model The name of the model class. Additionally, the following property is available:

2025-01-10 15:47:30
syndication.Feed.get_context_data()
  • References/Python/Django/API/contrib packages/The syndication feed framework

Feed.get_context_data(**kwargs) There is also a way to pass additional information to title and description templates, if you

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

ModelAdmin.date_hierarchy Set date_hierarchy to the name of a DateField or DateTimeField

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

username_validator New in Django 1.10. Points

2025-01-10 15:47:30