We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6e465a commit a720b29Copy full SHA for a720b29
itkufs/settings/base.py
@@ -92,6 +92,7 @@
92
"itkufs.accounting",
93
"itkufs.reports",
94
"itkufs.billing",
95
+ "itkufs", #Added for internationalisation in Urls.py
96
]
97
98
# Session
itkufs/urls.py
@@ -19,8 +19,7 @@
19
# View for magic i18n translation of js
20
url(
21
r"^i18n/js/$",
22
- JavaScriptCatalog,
23
- {"packages": ["itkufs"]},
+ JavaScriptCatalog.as_view(packages='itkufs']),
24
name="jsi18n",
25
),
26
url(r"^i18n/", include("django.conf.urls.i18n")),
0 commit comments