admin.ModelAdmin.exclude
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.exclude This attribute, if given, should be a list of field names to exclude from the form. For

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

date_joined A datetime designating when the account was created. Is set to the current date/time by default when the account

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

name Required. 255 characters or fewer. Example: 'Can vote'.

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

InlineModelAdmin.get_min_num(request, obj=None, **kwargs) Returns the minimum number of inline forms to use. By default, returns

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

class Sitemap [source] A Sitemap class can define the following methods/attributes:

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

first_name Optional. 30 characters or fewer.

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

class views.Feed This example illustrates all possible attributes and methods for a Feed class:

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

ModelAdmin.get_list_display(request) [source] The get_list_display method is

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

class apps.AdminConfig This is the default

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

ModelAdmin.history_view(request, object_id, extra_context=None) [source] Django view for

2025-01-10 15:47:30