Django-SupportTools

A Django application used for theming and wrapping T&LS support tools.


License
Apache-2.0
Install
pip install Django-SupportTools==3.6.3

Documentation

AXDD Support Tools

Build Status Coverage Status PyPi Version Python versions

A Django application used for theming and wrapping support tools.

Installation

This should be installed as a dependency in your project. You should not install this manually.

Configuration

Add these values to your project's settings.py:

MIDDLEWARE = [
    ...
    'userservice.user.UserServiceMiddleware',
    'django_user_agents.middleware.UserAgentMiddleware',
]

INSTALLED_APPS = [
    ...
    'supporttools',
    'userservice',
    'compressor',
    'django_user_agents',
]

TEMPLATES = [
    {
        'OPTIONS': {
            'context_processors': [
                ...
                'django.template.context_processors.request',
                'supporttools.context_processors.supportools_globals',
                'supporttools.context_processors.has_less_compiled',
            ],
        },
    },  
]

# Where the back link should go, and how it's labeled.
SUPPORTTOOLS_PARENT_APP = "TestApp"
SUPPORTTOOLS_PARENT_APP_URL = "/"