calingen.urls
¶
App-specific URL configuration.
Module Contents¶
- calingen.urls.app_name = calingen¶
Define an application namespace for reversing URLs.
See URL namespaces.
- calingen.urls.urlpatterns¶
The actual patterns, matching URLs to views.
""
:calingen.views.base.homepage()
-"homepage"
The app’s splash page. Will redirect to the user’s profile (see
"<profile_id>/"
) or to the profile creation page (see"profile/add/"
)."event/"
:calingen.views.event.EventListView
-"event-list"
The list of
calingen.models.event.Event
instances for the requesting user."event/<event_id>/"
:calingen.views.event.EventDetailView
-"event-detail"
The detailed view of an
calingen.models.event.Event
instance."event/add/"
:calingen.views.event.EventCreateView
-"event-add"
The view to create a new instance of
calingen.models.event.Event
."event/<event_id>/update/"
:calingen.views.event.EventUpdateView
-"event-update"
The view to modify / update an instance of
calingen.models.event.Event
."event/<event_id>/delete/"
:calingen.views.event.EventDeleteView
-"event-delete"
The view to delete an instance of
calingen.models.event.Event
."<profile_id>/"
:calingen.views.profile.ProfileDetailView
-"profile"
A view that summarizes the user’s profile.
"profile/add/"
:calingen.views.profile.ProfileCreateView
-"profile-add"
The view to create an instance of
calingen.models.profile.Profile
."<profile_id>/update/"
:calignen.views.profile.ProfileUpdateView
-"profile-update"
The view to modify / update instances of
calingen.models.profile.Profile
."<profile_id>/delete/"
:calingen.views.profile.ProfileDeleteView
-"profile-delete"
The view to delete an instance of
calingen.models.profile.Profile
."<profile_id>/events/"
:calingen.views.web.CalenderEntryListView
-"calendar-entry-list-year"
This view provides a list of a user’s events. Those events are determined from external event providers (as configured in the user’s profile) and the instances of
calingen.models.event.Event
associated with the user.This view automatically determines events for the current year.
"<profile_id>/events/<target_year>"
:calingen.views.web.CalendarEntryListView
-"calendar-entry-list-year"
See
"<profile_id>/events/"
. The only difference is, that thetarget_year
is provided manually through the URL."generate/select-layout/"
:calingen.views.generation.LayoutSelectionView
-"layout-selection"
This view is the starting point of the actual generation process.
"generate/configure-layout/"
:calingen.views.generation.LayoutConfigurationView
-"layout-configuration"
This view is automatically accessed during the generation process, if the selected layout requires configuration.
"generate/compilation/"
:calingen.views.generation.CompilerView
-"compilation"
This view is automatically accessed during the generation process and presents the compilation result, depending on the determined compiler.