Skip to content

Commit

Permalink
Set geo_template_names default to a dict to avoid an AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson authored and alexgibson committed Jun 22, 2023
1 parent 71457e6 commit 20afbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock/base/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class GeoTemplateView(l10n_utils.L10nTemplateView):
"""

# dict of country codes to template names
geo_template_names = None
geo_template_names = {}

def get_template_names(self):
country_code = get_country_from_request(self.request)
Expand Down

0 comments on commit 20afbb8

Please sign in to comment.