Configurando templates globais com DIRS + extends para herança de templates
This commit is contained in:
@@ -56,7 +56,9 @@ ROOT_URLCONF = 'project.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'DIRS': [
|
||||
BASE_DIR / 'base'
|
||||
],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
||||
Reference in New Issue
Block a user