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

ModelAdmin.inlines See

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

ModelAdmin.raw_id_fields By default, Django’s admin uses a select-box interface (<select>) for fields that are ForeignKey

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

is_authenticated Read-only attribute which is always True (as opposed to AnonymousUser.is_authenticated

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

ModelAdmin.formfield_for_choice_field(db_field, request, **kwargs) Like the formfield_for_foreignkey and

2025-01-10 15:47:30
contenttypes.fields.GenericRelation.related_query_name
  • References/Python/Django/API/contrib packages/The contenttypes framework

related_query_name The relation on the related object back to this object doesn’t exist by default. Setting related_query_name

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
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
auth.models.User.get_short_name()
  • References/Python/Django/API/contrib packages/django.contrib.auth

get_short_name() Returns the first_name.

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

class models.User User objects have the following fields:

2025-01-10 15:47:30