Commit d21da1ec authored by Michal Čihař's avatar Michal Čihař

Use better name for context processor

parent 9c8cec35
......@@ -57,7 +57,7 @@ def url(request):
}
def mt(request):
def machine_translations(request):
return {
'apertium_api_key': appsettings.MT_APERTIUM_KEY,
'microsoft_api_key': appsettings.MT_MICROSOFT_KEY,
......
......@@ -204,7 +204,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'trans.context_processors.title',
'trans.context_processors.date',
'trans.context_processors.url',
'trans.context_processors.mt',
'trans.context_processors.machine_translations',
'trans.context_processors.registration',
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment