mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 22:22:26 +00:00
Add exception name
This commit is contained in:
parent
546656e9f9
commit
3a386b90ae
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def about_page(request):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
president = Mandate.get_mandate().president.get_full_name()
|
president = Mandate.get_mandate().president.get_full_name()
|
||||||
except:
|
except Mandate.DoesNotExist:
|
||||||
president = _("Unable to get the information.")
|
president = _("Unable to get the information.")
|
||||||
|
|
||||||
return render(
|
return render(
|
||||||
|
|
Loading…
Reference in a new issue