i need get LANGUAGE_CODE variable in flatpage's template,but only got
it under Debug status.
when set debug=False,any request to flatpage will got 500 error:
VariableDoesNotExist: Failed lookup for key [LANGUAGE_CODE] in u'[{}]'
when set debug=True,all works.
can anyone know how to get it in flatpage's template when disable
debug status?
thx a lot.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

