contenttypes.fields.GenericForeignKey.for_concrete_model
  • References/Python/Django/API/contrib packages/The contenttypes framework

for_concrete_model If False, the field will be able to reference proxy models. Default is True. This

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

LogEntry.content_type The

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

ModelAdmin.message_user(request, message, level=messages.INFO, extra_tags='', fail_silently=False) [source]

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

storage.StaticFilesStorage.post_process(paths, **options) This method is called by the collectstatic management

2025-01-10 15:47:30
messages.storage.base.Message
  • References/Python/Django/API/contrib packages/The messages framework

class storage.base.Message When you loop over the list of messages in a template, what you get are instances of the Message

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

is_anonymous Read-only attribute which is always False. This is a way of differentiating User and

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

LogEntry.action_flag The type of action logged: ADDITION, CHANGE, DELETION.

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

get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions

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

ModelAdmin.inlines See

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

ModelAdmin.view_on_site Set view_on_site to control whether or not to display the “View on site” link. This link

2025-01-10 15:47:30