views.generic.edit.ModelFormMixin
  • References/Python/Django/API/Editing mixins

class django.views.generic.edit.ModelFormMixin A form mixin that works on ModelForms, rather than a standalone

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

ModelAdmin.get_ordering(request) The get_ordering method takes a request as parameter and is expected

2025-01-10 15:47:30
views.decorators.gzip.gzip_page()
  • References/Python/Django/Guides

gzip_page() This decorator compresses content if the browser allows gzip compression. It sets the Vary header accordingly

2025-01-10 15:47:30
db.models.Field.blank
  • References/Python/Django/API/Models/Model field reference

Field.blank If True, the field is allowed to be blank. Default is False. Note

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

ModelAdmin.get_form(request, obj=None, **kwargs) [source] Returns a

2025-01-10 15:47:30
db.transaction.non_atomic_requests()
  • References/Python/Django/Guides

non_atomic_requests(using=None) [source] This decorator will negate the effect of

2025-01-10 15:47:30
views.generic.list.MultipleObjectMixin.get_context_data()
  • References/Python/Django/API/Multiple object mixins

get_context_data(**kwargs) Returns context data for displaying the list of objects.

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

class EmailField(**kwargs) [source] Default widget:

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
sessions.backends.base.SessionBase.
  • References/Python/Django/Guides

__setitem__(key, value) Example: request.session['fav_color'] = 'blue'

2025-01-10 15:47:30