|
26 | 26 | from django.conf.urls.static import static |
27 | 27 |
|
28 | 28 | # Load demo plotly apps - this triggers their registration |
29 | | -import demo.plotly_apps # pylint: disable=unused-import |
30 | | -import demo.dash_apps # pylint: disable=unused-import |
31 | | -import demo.bootstrap_app # pylint: disable=unused-import |
| 29 | +import demo.plotly_apps # pylint: disable=unused-import |
| 30 | +import demo.dash_apps # pylint: disable=unused-import |
| 31 | +import demo.bootstrap_app # pylint: disable=unused-import |
| 32 | +import demo.mantine_example # pylint: disable=unused-import |
| 33 | + |
32 | 34 |
|
33 | 35 | from django_plotly_dash.views import add_to_session |
34 | 36 |
|
35 | 37 | from .views import dash_example_1_view, session_state_view |
36 | 38 |
|
| 39 | + |
37 | 40 | urlpatterns = [ |
38 | 41 | path('', TemplateView.as_view(template_name='index.html'), name="home"), |
39 | 42 | path('demo-one', TemplateView.as_view(template_name='demo_one.html'), name="demo-one"), |
|
46 | 49 | path('demo-eight', session_state_view, {'template_name':'demo_eight.html'}, name="demo-eight"), |
47 | 50 | path('demo-nine', TemplateView.as_view(template_name='demo_nine.html'), name="demo-nine"), |
48 | 51 | path('demo-ten', TemplateView.as_view(template_name='demo_ten.html'), name="demo-ten"), |
| 52 | + path('demo-eleven', TemplateView.as_view(template_name='demo_eleven.html'), name="demo-eleven"), |
49 | 53 | path('admin/', admin.site.urls), |
50 | 54 | path('django_plotly_dash/', include('django_plotly_dash.urls')), |
51 | 55 |
|
52 | 56 | path('demo-session-var', add_to_session, name="session-variable-example"), |
53 | 57 | ] |
54 | 58 |
|
| 59 | + |
55 | 60 | # Add in static routes so daphne can serve files; these should |
56 | 61 | # be masked eg with nginx for production use |
57 | 62 |
|
|
0 commit comments