Results

Class-based views

...class-based views reference documentation. Introduction to Class-based views Built-in Class-based generic views Form handling with class-based views Using mixins with class-based views Basic exam...

Built-in Class-based views API

...Class-based views API Class-based views API reference. For introductory material, see the Class-based views topic guide. Base views View TemplateView RedirectView Generic display views DetailView ...

Class-based generic views - flattened index

...class tree are represented under that view. For the reference documentation organized by the class which defines the behavior, see Class-based views Simple generic views View class View Attribut...

Base views

...class-based views. Many of Django’s built-in class-based views inherit from other class-based views or various mixins. Because this inheritance chain is very important, the ancestor classes are ...

Form handling with class-based views

...class-based views here; we don’t have to write any logic ourselves: views.py from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.core.urlresolvers import reverse...

Editing mixins

...class() Retrieve the form class to instantiate. By default form_class. get_form(form_class=None) Instantiate an instance of form_class using get_form_kwargs(). If form_class isn’t provided g...

Generic display views

...views The two following generic class-based views are designed to display data. On many projects they are typically the most commonly used views. DetailView class django.views.generic.detail.Detail...

Class-based views mixins

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

Introduction to Class-based views

...Class-based views Class-based views provide an alternative way to implement views as Python objects instead of functions. They do not replace function-based views, but have certain differences and adv...

Single object mixins

...class django.views.generic.detail.SingleObjectTemplateResponseMixin A mixin class that performs template-based response rendering for views that operate upon a single object instance. Requires that th...

Simple mixins

...class-based generic views include a view variable that points to the View instance. Use alters_data where appropriate Note that having the view instance in the template context may expose potentially...

Multiple object mixins

...class django.views.generic.list.MultipleObjectTemplateResponseMixin A mixin class that performs template-based response rendering for views that operate upon a list of object instances. Requires that ...

Generic editing views

...views.generic.base.TemplateResponseMixin django.views.generic.edit.BaseDeleteView django.views.generic.edit.DeletionMixin django.views.generic.detail.BaseDetailView django.views.generic.detail.SingleO...

Date-based mixins

...BaseDateListView class BaseDateListView A base class that provides common behavior for all date-based views. There won’t normally be a reason to instantiate BaseDateListView; instantiate one o...

Django 1.6.3 release notes

...classes are aware of their own types and most such classes perform explicit conversion of query arguments to the correct database-level type before querying. However, three model field classes did not...

Generic date views

...class BaseArchiveIndexView class BaseYearArchiveView class BaseMonthArchiveView class BaseWeekArchiveView class BaseDayArchiveView class BaseTodayArchiveView class BaseDateDeta...

Django 1.4.11 release notes

...classes are aware of their own types and most such classes perform explicit conversion of query arguments to the correct database-level type before querying. However, three model field classes did not...

Django 1.5.6 release notes

...classes are aware of their own types and most such classes perform explicit conversion of query arguments to the correct database-level type before querying. However, three model field classes did not...

Built-in Class-based generic views

...class of a generic view, then you may find it more effective to write just the code you need, using your own class-based or functional views. More examples of generic views are available in some third...

Django documentation

...Views | Request/response objects | TemplateResponse objects File uploads: Overview | File objects | Storage API | Managing files | Custom storage Class-based views: Overview | Built-in display views |...

« Previous | Next »
Back to Top