gazette.forms.notice
Classes
Edit an official notice. |
|
Edit an official notice without limitations on the issues, categories |
Module Contents
- class gazette.forms.notice.NoticeForm(formdata: MultiDict[str, Any] | None = None, obj: object | None = None, prefix: str = '', data: dict[str, Any] | None = None, meta: dict[str, Any] | None = None, *, extra_filters: Mapping[str, Sequence[Any]] | None = None, **kwargs: Any)[source]
Bases:
onegov.form.Form
Edit an official notice.
The issues are limited according to the deadline (or the issue date in the for publishers) and the categories and organizations are limited to the active one.
- class gazette.forms.notice.UnrestrictedNoticeForm(formdata: MultiDict[str, Any] | None = None, obj: object | None = None, prefix: str = '', data: dict[str, Any] | None = None, meta: dict[str, Any] | None = None, *, extra_filters: Mapping[str, Sequence[Any]] | None = None, **kwargs: Any)[source]
Bases:
NoticeForm
Edit an official notice without limitations on the issues, categories and organiaztions.
Optionally disables the issues (e.g. if the notice is already published).