calingen.constants¶
App-specific constants, that are used throughout the application.
Module Contents¶
Classes¶
The single source of truth for different types of events. |
- class calingen.constants.EventCategory¶
Bases:
django.db.models.TextChoicesThe single source of truth for different types of events.
Throughout the app, there are different sources for events, most notably the app’s
Eventinstances and the events as provided by theEventProviderimplementations.All these sources must provide compatible event categories.
Notes
Provides the accepted choices for
calingen.models.event.Event.category.- ANNUAL_ANNIVERSARY¶
- HOLIDAY¶