messages.storage.base.BaseStorage
  • References/Python/Django/API/contrib packages/The messages framework

class storage.base.BaseStorage To write your own storage class, subclass the BaseStorage class in django

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

ModelAdmin.formfield_for_manytomany(db_field, request, **kwargs) Like the formfield_for_foreignkey method, the

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

ModelAdmin.object_history_template Path to a custom template, used by

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

AdminSite.login_form Subclass of

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

ModelAdmin.change_list_template Path to a custom template, used by

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

register(*models, site=django.admin.sites.site) [source] There is also a decorator for registering

2025-01-10 15:47:30
contenttypes.models.ContentTypeManager.clear_cache()
  • References/Python/Django/API/contrib packages/The contenttypes framework

clear_cache() Clears an internal cache used by ContentType to keep track of models for which it has created

2025-01-10 15:47:30
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