http.HttpResponse.delete_cookie()
  • References/Python/Django/API/Request and response objects

HttpResponse.delete_cookie(key, path='/', domain=None) Deletes the cookie with the given key. Fails silently if the key doesn’t

2025-01-10 15:47:30
utils.functional.keep_lazy()
  • References/Python/Django/API/Django Utils

keep_lazy(func, *resultclasses) [source] New

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

class ModelAdmin [source] The ModelAdmin class is the representation of a model

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

app_label The name of the application the model is part of. This is taken from the app_label attribute of the model

2025-01-10 15:47:30
forms.MultiWidget.widgets
  • References/Python/Django/API/Forms/Widgets

widgets An iterable containing the widgets needed. And one required method:

2025-01-10 15:47:30
forms.ModelChoiceField.queryset
  • References/Python/Django/API/Forms/Form fields

queryset A QuerySet of model objects from which the choices for the field will be derived, and which will be used

2025-01-10 15:47:30
views.generic.edit.ModelFormMixin.form_invalid()
  • References/Python/Django/API/Editing mixins

form_invalid() Renders a response, providing the invalid form as context.

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

InlineModelAdmin.template The template used to render the inline on the page.

2025-01-10 15:47:30
views.generic.edit.FormMixin.initial
  • References/Python/Django/API/Editing mixins

initial A dictionary containing initial data for the form.

2025-01-10 15:47:30
Class-based views mixins
  • References/Python/Django/API/Built-in class-based views API/Class-based views mixins

Class-based views API reference. For introductory material, see Using mixins with class-based views. Simple

2025-01-10 15:47:30