flatpages.sitemaps.FlatPageSitemap
  • References/Python/Django/API/contrib packages/The flatpages app

class FlatPageSitemap [source] The sitemaps.FlatPageSitemap class looks at all

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.Group.permissions
  • References/Python/Django/API/contrib packages/django.contrib.auth

permissions Many-to-many field to Permission: group

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

email_user(subject, message, from_email=None, **kwargs) Sends an email to the user. If from_email is None

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

has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the format "<app

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
django.contrib.humanize
  • References/Python/Django/API/contrib packages/django.contrib.humanize

A set of Django template filters useful for adding a “human touch” to data. To activate these filters, add 'django.contrib.humanize'

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

class GenericStackedInline Subclasses of GenericInlineModelAdmin with stacked and tabular layouts, respectively

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

authenticate(username=None, password=None, **kwargs) Tries to authenticate username with password

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

ModelAdmin.preserve_filters The admin now preserves filters on the list view after creating, editing or deleting an object.

2025-01-10 15:47:30