Views
Source is located in the generic, which
we’ll describe here.
Crudlfa+ generic views and mixins.
Crudlfa+ takes views further than Django and are expected to:
- generate their URL definitions and reversions,
- check if a user has permission for an object,
- declare the names of the navigation menus they belong to.
-
class
crudlfap.views.generic.CreateView(**kwargs)[source]
View to create a model object.
-
class
crudlfap.views.generic.DeleteObjectsView(**kwargs)[source]
Delete selected objects.
-
class
crudlfap.views.generic.DeleteView(**kwargs)[source]
View to delete an object.
-
class
crudlfap.views.generic.DetailView(**kwargs)[source]
Templated model object detail view which takes a field option.
-
class
crudlfap.views.generic.FormView(**kwargs)[source]
Base FormView class.
-
class
crudlfap.views.generic.HistoryView(**kwargs)[source]
-
class
crudlfap.views.generic.ListView(**kwargs)[source]
-
class
crudlfap.views.generic.ModelFormView(**kwargs)[source]
-
class
crudlfap.views.generic.ModelView(**kwargs)[source]
-
class
crudlfap.views.generic.ObjectFormView(**kwargs)[source]
Custom form view on an object.
-
class
crudlfap.views.generic.ObjectView(**kwargs)[source]
-
class
crudlfap.views.generic.ObjectsFormView(**kwargs)[source]
-
class
crudlfap.views.generic.ObjectsView(**kwargs)[source]
-
class
crudlfap.views.generic.TemplateView(**kwargs)[source]
TemplateView for CRUDLFA+.
-
class
crudlfap.views.generic.UpdateView(**kwargs)[source]
Model update view.
-
class
crudlfap.views.generic.View(**kwargs)[source]
Base view for CRUDLFA+.