diff --git a/calendarweek/django.py b/calendarweek/django.py index 8a582605081df5e9bafaff100f547a7ae65c3203..4a5bfe2cd97497331f265c474d6f10fe356d005e 100644 --- a/calendarweek/django.py +++ b/calendarweek/django.py @@ -61,25 +61,25 @@ def i18n_month_abbrs(loc: Optional[str] = None) -> Tuple[str]: def i18n_day_name_choices(loc: Optional[str] = None) -> Tuple[Tuple[int, str]]: """ Return an enumeration of day names for the current locale. """ - return enumerate(i18n_day_names(loc)) + return list(enumerate(i18n_day_names(loc))) def i18n_day_abbr_choices(loc: Optional[str] = None) -> Tuple[Tuple[int, str]]: """ Return an enumeration of day name abbreviations for the current locale. """ - return enumerate(i18n_day_abbrs(loc)) + return list(enumerate(i18n_day_abbrs(loc))) def i18n_month_name_choices(loc: Optional[str] = None) -> Tuple[Tuple[int, str]]: """ Return an enumeration of month names for the current locale. """ - return enumerate(i18n_month_names(loc)) + return list(enumerate(i18n_month_names(loc))) def i18n_month_abbr_choices(loc: Optional[str] = None) -> Tuple[Tuple[int, str]]: """ Return an enumeration of month name abbreviations for the current locale. """ - return enumerate(i18n_month_abbrs(loc)) + return list(enumerate(i18n_month_abbrs(loc))) def i18n_js(request: HttpRequest) -> HttpResponse: