diff --git a/information/models.py b/information/models.py index 2fdff20cd64aeed57098455a06960b111d85aea2..b012991d2b34439a85c798a52ebc8ca97649cb8f 100644 --- a/information/models.py +++ b/information/models.py @@ -44,7 +44,7 @@ class InformationLocale(models.Model): ) except: # Use the first and best - return InformationLocale.objects.get(information=Information.objects.filter(pk=information_id))[0] + return InformationLocale.objects.filter(information=Information.objects.get(pk=information_id))[0] @staticmethod def get_heading_with_fallback(information_id, language_code=translation.get_language()):