|
@@ -1,5 +1,5 @@
|
|
|
import django
|
|
|
-from django.conf.urls import patterns, url
|
|
|
+from django.conf.urls import url
|
|
|
from django.views.i18n import javascript_catalog
|
|
|
from jet.dashboard import dashboard
|
|
|
from jet.dashboard.views import update_dashboard_modules_view, add_user_dashboard_module_view, \
|
|
@@ -53,4 +53,5 @@ urlpatterns = [
|
|
|
urlpatterns += dashboard.urls.get_urls()
|
|
|
|
|
|
if django.VERSION[:2] < (1, 8):
|
|
|
+ from django.conf.urls import patterns
|
|
|
urlpatterns = patterns('', *urlpatterns)
|