contenttypes.models.ContentType
  • References/Python/Django/API/contrib packages/The contenttypes framework

class ContentType Each instance of ContentType has two fields which, taken together, uniquely describe an installed

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
contenttypes.admin.GenericInlineModelAdmin.ct_field
  • References/Python/Django/API/contrib packages/The contenttypes framework

ct_field The name of the ContentType foreign key field on the model. Defaults to content_type.

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

ping_google() [source] ping_google() takes an optional argument, sitemap_url

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

check_password(raw_password) Returns True if the given raw string is the correct password for the user. (This takes

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

RemoteUserBackend.configure_user(user) Configures a newly created user. This method is called immediately after a new user is

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

views.index(request, sitemaps, template_name='sitemap_index.xml', content_type='application/xml', sitemap_url_name='django.contrib.sitemaps.views.sitemap')

2025-01-10 15:47:30
messages.add_message()
  • References/Python/Django/API/contrib packages/The messages framework

add_message(request, level, message, extra_tags='', fail_silently=False) [source]

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

RemoteUserBackend.user_can_authenticate() New in Django 1.10.

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

get_for_models(*models, for_concrete_models=True) Takes a variadic number of model classes, and returns a dictionary mapping

2025-01-10 15:47:30