omg what have I done?

master
daz 2014-02-06 17:22:51 +01:00
parent 36211c95bd
commit 3a3aeb3d5a
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ def index(request, pope=None):
if pope:
if pope == 'Benedictus_XVI':
translation.activate('de')
else:
translation.activate('pl')
pope = Pope.objects.filter(name=pope.replace('_', ' ')).first()
if pope: