Browse Source

Fix url include

Denis K 7 years ago
parent
commit
d646624b4c
2 changed files with 5 additions and 0 deletions
  1. 2 0
      jet/dashboard/urls.py
  2. 3 0
      jet/urls.py

+ 2 - 0
jet/dashboard/urls.py

@@ -13,6 +13,8 @@ from jet.dashboard.views import update_dashboard_modules_view, add_user_dashboar
     update_dashboard_module_collapse_view, remove_dashboard_module_view, UpdateDashboardModuleView, \
     load_dashboard_module_view, reset_dashboard_view
 
+app_name = 'dashboard'
+
 urlpatterns = [
     url(
         r'^module/(?P<pk>\d+)/$',

+ 3 - 0
jet/urls.py

@@ -10,6 +10,9 @@ except ImportError:
 
 from jet.views import add_bookmark_view, remove_bookmark_view, toggle_application_pin_view, model_lookup_view
 
+
+app_name = 'jet'
+
 urlpatterns = [
     url(
         r'^add_bookmark/$',