diff --git a/bikeshop_project/core/templates/dashboard.html b/bikeshop_project/core/templates/dashboard.html new file mode 100644 index 0000000..838aa18 --- /dev/null +++ b/bikeshop_project/core/templates/dashboard.html @@ -0,0 +1 @@ +{% extends 'base.html' %} \ No newline at end of file diff --git a/bikeshop_project/core/urls.py b/bikeshop_project/core/urls.py index 3e4e780..f7687bd 100644 --- a/bikeshop_project/core/urls.py +++ b/bikeshop_project/core/urls.py @@ -2,5 +2,5 @@ from django.conf.urls import url from .views import DashboardView urlpatterns = [ - url(r'^', DashboardView.as_view()), + url(r'^$', DashboardView.as_view()), ] diff --git a/bikeshop_project/core/views.py b/bikeshop_project/core/views.py index a9d0b98..aa475e1 100644 --- a/bikeshop_project/core/views.py +++ b/bikeshop_project/core/views.py @@ -4,4 +4,4 @@ from django.views.generic import View class DashboardView(View): def get(self, request): - return TemplateResponse(request, 'base.html') \ No newline at end of file + return TemplateResponse(request, 'dashboard.html') \ No newline at end of file