mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-05 12:14:41 +00:00
Removed a comment that became obsolete with recent developments.
The local scope is no longer used to build the template context. It is now explicitely built.
This commit is contained in:
parent
2b2c5772c4
commit
0aa1b1917f
1 changed files with 0 additions and 1 deletions
|
|
@ -198,7 +198,6 @@ def home(request):
|
|||
else:
|
||||
paginator = Paginator([e for e in rosetta_i18n_pofile if not e.obsolete], rosetta_settings.MESSAGES_PER_PAGE)
|
||||
|
||||
# We put constants in the local namespace so that they're sent to the template context
|
||||
if rosetta_settings.ENABLE_REFLANG:
|
||||
ref_lang = storage.get('rosetta_i18n_ref_lang_code', 'msgid')
|
||||
ref_pofile = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue