admin.ModelAdmin.get_readonly_fields()
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.get_readonly_fields(request, obj=None) The get_readonly_fields method is given the HttpRequest

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.ModelAdmin.list_display
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.list_display Set list_display to control which fields are displayed on the change list page of the admin

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

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

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

class GenericSitemap [source] The django.contrib.sitemaps.GenericSitemap class

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

AdminSite.has_permission(request) [source] Returns True if the user for the

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

storage.ManifestStaticFilesStorage.file_hash(name, content=None) The method that is used when creating the hashed name of a

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

ModelAdmin.get_changeform_initial_data(request) [source] A hook for the initial data on admin

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

get_user(request) [source] Returns the user model instance associated with the given request’s

2025-01-10 15:47:30
flatpages.middleware.FlatpageFallbackMiddleware
  • References/Python/Django/API/contrib packages/The flatpages app

class FlatpageFallbackMiddleware Each time any Django application raises a 404 error, this middleware checks the flatpages database

2025-01-10 15:47:30