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