Skip to content

Commit

Permalink
fixed /i18n/js/ ewwows
Browse files Browse the repository at this point in the history
 ♥w♥
  • Loading branch information
Even Fjeldstad committed Sep 23, 2024
1 parent d6e465a commit a720b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions itkufs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"itkufs.accounting",
"itkufs.reports",
"itkufs.billing",
"itkufs", #Added for internationalisation in Urls.py
]

# Session
Expand Down
3 changes: 1 addition & 2 deletions itkufs/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
# View for magic i18n translation of js
url(
r"^i18n/js/$",
JavaScriptCatalog,
{"packages": ["itkufs"]},
JavaScriptCatalog.as_view(packages='itkufs']),
name="jsi18n",
),
url(r"^i18n/", include("django.conf.urls.i18n")),
Expand Down

0 comments on commit a720b29

Please sign in to comment.