gazette.app
¶
Module Contents¶
Classes¶
The gazette application. Include this in your onegov.yml to serve |
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class gazette.app.GazetteApp[source]¶
Bases:
onegov.core.Framework
,onegov.file.DepotApp
,onegov.quill.QuillApp
,onegov.form.FormApp
,onegov.user.UserApp
The gazette application. Include this in your onegov.yml to serve it with onegov-server.
- property principal: onegov.gazette.models.Principal[source]¶
Returns the principal of the gazette app. See
onegov.gazette.models.principal.Principal
.
- property logo: onegov.core.filestorage.FilestorageFile | None[source]¶
Returns the logo as
onegov.core.filestorage.FilestorageFile
.
- load_principal() onegov.gazette.models.Principal | None [source]¶
The principal is defined in the
principal.yml
file stored on the applications filestorage root.If the file does not exist, the site root does not exist and therefore a 404 is returned.
The structure of the yaml file is defined in class:onegov.gazette.model.Principal.