omg what have I done?
parent
36211c95bd
commit
3a3aeb3d5a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue