Working with Forms

Arctic Forms, like the ListViews, add features not present in the standard django generics, there are three different views available: CreateView, UpdateView and FormView, they all share similar features.

It is recomended to use the project created in the Lists chapter as a base to try the examples on this one.

By default the Forms include a 'Submit' button, but more can be added by using the links property, for example:

links = [
    ('Back to list', 'articles:list'),
]

This will create an extra button that links to the article list, more can be added and they will all be displayed as secondary links on the bottom leftmost side of the form.

Layouts

Inlines

Widgets