staticfiles.storage.StaticFilesStorage
  • References/Python/Django/API/contrib packages/The staticfiles app

class storage.StaticFilesStorage A subclass of the

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

LogEntry.change_message The detailed description of the modification. In the case of an edit, for example, the message contains

2025-01-10 15:47:30
sitemaps.Sitemap.items
  • References/Python/Django/API/contrib packages/The sitemap framework

items [source] Required. A method that returns a list of objects. The framework

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

has_module_perms(package_name) Returns True if the user has any permissions in the given package (the Django app

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

ModelAdmin.formfield_overrides This provides a quick-and-dirty way to override some of the

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

ModelAdmin.save_as Set save_as to enable a “save as new” feature on admin change forms. Normally

2025-01-10 15:47:30
sites.models.Site
  • References/Python/Django/API/contrib packages/The “sites” framework

class models.Site A model for storing the domain and name attributes of a website.

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

InlineModelAdmin.classes New in Django 1.10. A

2025-01-10 15:47:30
sitemaps.Sitemap.priority
  • References/Python/Django/API/contrib packages/The sitemap framework

priority Optional. Either a method or attribute. If it’s a method, it should

2025-01-10 15:47:30
auth.backends.ModelBackend.has_perm()
  • References/Python/Django/API/contrib packages/django.contrib.auth

has_perm(user_obj, perm, obj=None) Uses get_all_permissions() to check if user_obj has the permission

2025-01-10 15:47:30