core Package¶
core
Package¶
This app implements core Distro Tracker functionality.
admin
Module¶
context_processors
Module¶
Implements Django context processors specific to Distro Tracker.
-
distro_tracker.core.context_processors.
DISTRO_TRACKER_EXTRAS
= {'DISTRO_TRACKER_CONTROL_EMAIL': 'control@tracker.example.net', 'DISTRO_TRACKER_VENDOR_URL': 'http://www.example.net', 'DISTRO_TRACKER_SITE_DOMAIN': 'tracker.example.net', 'DISTRO_TRACKER_CONTACT_EMAIL': 'owner@tracker.example.net', 'DISTRO_TRACKER_VENDOR_NAME': 'Example'}¶ Defines a dictionary of all Distro Tracker extra context key/value pairs that are to be included in the
RequestContext
.
-
distro_tracker.core.context_processors.
extras
(request)[source]¶ The context processor which includes the
DISTRO_TRACKER_EXTRAS
in theRequestContext
.