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:
Virgil Dupras 2013-04-19 09:17:54 -04:00
parent 2b2c5772c4
commit 0aa1b1917f

View file

@ -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