gazette.views.categories
Functions
|
View the list of categories. |
|
Create a new category. |
|
Edit a category. |
|
Delete a category. |
|
Export all categories as XLSX. The exported file can be re-imported |
Module Contents
- gazette.views.categories.view_categories(self: onegov.gazette.collections.CategoryCollection, request: onegov.gazette.request.GazetteRequest) onegov.core.types.RenderData [source]
View the list of categories.
This view is only visible by an admin.
- gazette.views.categories.create_category(self: onegov.gazette.collections.CategoryCollection, request: onegov.gazette.request.GazetteRequest, form: onegov.gazette.forms.CategoryForm) RenderData | BaseResponse [source]
Create a new category.
This view is only visible by an admin.
- gazette.views.categories.edit_category(self: onegov.gazette.models.Category, request: onegov.gazette.request.GazetteRequest, form: onegov.gazette.forms.CategoryForm) RenderData | BaseResponse [source]
Edit a category.
This view is only visible by an admin.