Base

Swingers’ base toolset.

Context processors

swingers.base.context_processors.standard(request)

Adds some extra variables to the template context.

sitetitle
settings.SITE_TITLE
application_version_no
settings.APPLICATION_VERSION_NO
production_site
If the host environment is 'prod', this is True. Otherwise, it is False.
hostenv
The current host environment.
date_today
The current date.
DEC_CDN
settings.DEC_CDN
CDNJS_URL
settings.CDNJS_URL
PERSONA_LOGIN
settings.PERSONA_LOGIN

Urls

swingers.base.urls

Adds browser_id/, api/persona/, login/, logout/, confluence/, api/swingers/v1, favicon.ico and docs/ url endpoints.

Django-swingers is a library of common utilities, templates and other django customizations used throughout Department of Parks and Wildlife.

Table Of Contents

Related Topics