# HG changeset patch # User neko259 # Date 2015-05-03 20:42:31 # Node ID cb6a860f5e7db10afc46bc4e47bcdffb7fa14959 # Parent ea2f237c7365f203963e633c976d180425e5d091 Fixed javascript translation catalog diff --git a/boards/urls.py b/boards/urls.py --- a/boards/urls.py +++ b/boards/urls.py @@ -1,4 +1,5 @@ from django.conf.urls import patterns, url +from django.views.i18n import javascript_catalog from boards import views from boards.rss import AllThreadsFeed, TagThreadsFeed, ThreadPostsFeed @@ -51,7 +52,7 @@ urlpatterns = patterns('', url(r'^thread/(?P\d+)/rss/$', ThreadPostsFeed()), # i18n - url(r'^jsi18n/$', 'boards.views.cached_js_catalog', js_info_dict, + url(r'^jsi18n/$', javascript_catalog, js_info_dict, name='js_info_dict'), # API