omg what have I done?
parent
36211c95bd
commit
3a3aeb3d5a
|
@ -10,6 +10,8 @@ def index(request, pope=None):
|
||||||
if pope:
|
if pope:
|
||||||
if pope == 'Benedictus_XVI':
|
if pope == 'Benedictus_XVI':
|
||||||
translation.activate('de')
|
translation.activate('de')
|
||||||
|
else:
|
||||||
|
translation.activate('pl')
|
||||||
|
|
||||||
pope = Pope.objects.filter(name=pope.replace('_', ' ')).first()
|
pope = Pope.objects.filter(name=pope.replace('_', ' ')).first()
|
||||||
if pope:
|
if pope:
|
||||||
|
|
Loading…
Reference in New Issue