Skip to content

Commit f821c6f

Browse files
committed
HEA-592 first version of Inventory Dashboard
1 parent a26a3c5 commit f821c6f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/viz/apps.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ class VizConfig(AppConfig):
77
default_auto_field = "django.db.models.BigAutoField"
88
name = "viz"
99
verbose_name = _("viz")
10+
11+
def ready(self):
12+
import viz.dash.inventory_dashboard.app

apps/viz/urls.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
21
from django.urls import path
32

3+
import viz.dash.inventory_dashboard.app
4+
45
from .views import InventoryDashboardView
56

67
app_name = "viz"
78

89
urlpatterns = [
9-
path("", InventoryDashboardView.as_view(), name="Inventory_dashboard"),
10+
path("", InventoryDashboardView.as_view(), name="inventory_dashboard"),
1011
]

0 commit comments

Comments
 (0)