CZ-NIC / django-eidas-specific-node

GNU General Public License v3.0
2 stars 2 forks source link

Add styles and CZ.NIC branding #59

Closed jiri-janousek closed 5 years ago

jiri-janousek commented 5 years ago

...
from eidas_node import cznic
...

STATIC_ROOT = '/var/www/eidas/static'
STATIC_URL = '/static/'
STATICFILES_DIRS = [cznic.STATIC_DIR]

...

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'APP_DIRS': True,
        'DIRS': [cznic.TEMPLATE_DIR],
        'OPTIONS': {
            'context_processors': [
                'django.contrib.messages.context_processors.messages',
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.template.context_processors.i18n',
            ]
        }
    }
]