Make template lookup path independent from $PWD
parent
d44df4cc45
commit
6b5c97b638
|
@ -75,7 +75,7 @@ ROOT_URLCONF = 'spejstore.urls'
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'DIRS': ['templates/'],
|
'DIRS': [os.path.join(BASE_DIR, "templates")],
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
|
|
Loading…
Reference in New Issue