File: settings.py

package info (click to toggle)
python-django-crispy-forms 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,252 kB
  • sloc: python: 3,907; makefile: 90
file content (15 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

SITE_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)))

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

TEMPLATE_DIRS = (os.path.join(SITE_ROOT, 'templates'))

INSTALLED_APPS = (
    'crispy_forms'
)
SECRET_KEY = "secretkey"