diff --git a/wcivf/apps/elections/models.py b/wcivf/apps/elections/models.py index e111f8314..c7e9379d5 100644 --- a/wcivf/apps/elections/models.py +++ b/wcivf/apps/elections/models.py @@ -262,7 +262,10 @@ def pluralized_division_name(self): "parish": "parishes", "constituency": "constituencies", } - suffix = self.post_set.first().division_suffix + try: + suffix = self.post_set.first().division_suffix + except AttributeError: + suffix = None if not suffix: return "posts"