Views

iommi ships with some views for some common use cases:

Authorization

We have login, logout, and change_password views, and there’s a function to get all patterns:

urlpatterns = [
    path('', auth_views()),
]
▼ Hide result
▼ Hide result
▼ Hide result

CRUD views

Create a full CRUD set of views:

urlpatterns = [
    path('', crud_views(model=Album)),
]
▼ Hide result
▼ Hide result
▼ Hide result
▼ Hide result
▼ Hide result