Skip to content
Snippets Groups Projects
Commit bdcb0c7a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Reformat code with black

parent 6d7e2fd8
No related branches found
No related tags found
No related merge requests found
...@@ -82,13 +82,15 @@ def i18n_json_data(request: HttpRequest) -> JsonResponse: ...@@ -82,13 +82,15 @@ def i18n_json_data(request: HttpRequest) -> JsonResponse:
""" Deliver a JSON file containing JS representations of the current locale's """ Deliver a JSON file containing JS representations of the current locale's
calendar translations. """ calendar translations. """
return JsonResponse({ return JsonResponse(
"day_names": i18n_day_names(), {
"day_abbrs": i18n_day_abbrs(), "day_names": i18n_day_names(),
"month_names": i18n_month_names(), "day_abbrs": i18n_day_abbrs(),
"month_abbrs": i18n_month_abbrs(), "month_names": i18n_month_names(),
}) "month_abbrs": i18n_month_abbrs(),
}
)
i18n_day_names_lazy = lazy(i18n_day_names, tuple) i18n_day_names_lazy = lazy(i18n_day_names, tuple)
i18n_day_abbrs_lazy = lazy(i18n_day_abbrs, tuple) i18n_day_abbrs_lazy = lazy(i18n_day_abbrs, tuple)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment