Skip to content

Commit

Permalink
Restore settings context processor.
Browse files Browse the repository at this point in the history
  • Loading branch information
glogiotatidis committed Nov 11, 2020
1 parent 7f58e8d commit 15c1181
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,16 @@
"match_extension": None,
'match_regex': r'.+\.jinja(\.json)?',
'newstyle_gettext': True,
'context_processors': [
'snippets.base.context_processors.settings',
],
}
},
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'OPTIONS': {
'debug': DEBUG_TEMPLATE,
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
Expand All @@ -174,6 +178,7 @@
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'snippets.base.context_processors.settings',
],
}
},
Expand Down

0 comments on commit 15c1181

Please sign in to comment.