Skip to content

Commit a720b29

Browse files
author
Even Fjeldstad
committed
fixed /i18n/js/ ewwows
♥w♥
1 parent d6e465a commit a720b29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

itkufs/settings/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"itkufs.accounting",
9393
"itkufs.reports",
9494
"itkufs.billing",
95+
"itkufs", #Added for internationalisation in Urls.py
9596
]
9697

9798
# Session

itkufs/urls.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
# View for magic i18n translation of js
2020
url(
2121
r"^i18n/js/$",
22-
JavaScriptCatalog,
23-
{"packages": ["itkufs"]},
22+
JavaScriptCatalog.as_view(packages='itkufs']),
2423
name="jsi18n",
2524
),
2625
url(r"^i18n/", include("django.conf.urls.i18n")),

0 commit comments

Comments
 (0)