calingen.contrib.providers.german_holidays.apps

Provide the application configuration for Django.

Module Contents

Classes

CalingenProviderGermanHolidays

Application-specific configuration class, as required by Django.

Attributes

APP_CONFIG_NAME

The name of the app-specific configuration option.

class calingen.contrib.providers.german_holidays.apps.CalingenProviderGermanHolidays(app_name, app_module)

Bases: django.apps.AppConfig

Application-specific configuration class, as required by Django.

This sub-class of Django’s AppConfig provides application-specific information to be used in Django’s application registry (see applications/#configuring-applications).

name = calingen.contrib.providers.german_holidays
verbose_name = CalInGen Provider: German Holidays
ready()

Apply app-specific stuff.

Notes

This method is executed when the application is (completely) loaded.

It will import the actual implementations of EventProvider, making them available in django-calingen.

calingen.contrib.providers.german_holidays.apps.APP_CONFIG_NAME = CALINGEN_PROVIDER_GERMAN_HOLIDAYS

The name of the app-specific configuration option.