templates dirs

Solutions on MaxInterview for templates dirs by the best coders in the world

showing results for - "templates dirs"
Addilyn
01 Jan 2018
1TEMPLATES = [
2    {
3        'BACKEND': 'django.template.backends.django.DjangoTemplates',
4        'DIRS': [os.path.join(BASE_DIR, 'templates')],
5        'APP_DIRS': True,
6        'OPTIONS': {
7            'context_processors': [
8                'django.template.context_processors.debug',
9                'django.template.context_processors.request',
10                'django.contrib.auth.context_processors.auth',
11                'django.contrib.messages.context_processors.messages',
12            ],
13        },
14    },
15]
16