django_icalendar package

Subpackages

Submodules

django_icalendar.apps module

class django_icalendar.apps.DjangoIcalendarAppConfig(app_name, app_module)[source]

Bases: AppConfig

App config for Django icalendar.

name = 'django_icalendar'
verbose_name = 'icalendar'

django_icalendar.conf module

These are the available settings.

All attributes prefixed DJANGO_ICALENDAR_* can be overridden from your Django project’s settings module by defining a setting with the same name.

class django_icalendar.conf.AppSettings(DJANGO_ICALENDAR_ENABLED: bool = True)[source]

Bases: object

Access this instance as .conf.app_settings.

DJANGO_ICALENDAR_ENABLED: bool = True

Whether the app is enabled (dummy setting to demo usage).

django_icalendar.main module

django_icalendar.main.add(n1: int, n2: int) int[source]

Add the arguments.

Examples

>>> add(1, 1)
2
django_icalendar.main.is_enabled() bool[source]

Example usage of app settings.