activity.models.publication_request

Classes

PublicationRequest

Describes a request for publication. As users create new activities

Module Contents

class activity.models.publication_request.PublicationRequest[source]

Bases: onegov.core.orm.Base, onegov.core.orm.mixins.TimestampMixin

Describes a request for publication. As users create new activities they need to ask for publication, where the activity is reviewed before it is made public.

This repeats each period. Every activity which should be provided again has to be requested again. This is even possible multiple times per period, though that should be the exception.

__tablename__ = 'publication_requests'[source]
id: Column[uuid.UUID][source]
activity_id: Column[uuid.UUID][source]
activity: relationship[Activity][source]
period_id: Column[uuid.UUID][source]
period: relationship[Period][source]