mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Use dashboard view.
This commit is contained in:
parent
d58421fa31
commit
81627e414e
1
bikeshop_project/core/templates/dashboard.html
Normal file
1
bikeshop_project/core/templates/dashboard.html
Normal file
@ -0,0 +1 @@
|
||||
{% extends 'base.html' %}
|
@ -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()),
|
||||
]
|
||||
|
@ -4,4 +4,4 @@ from django.views.generic import View
|
||||
|
||||
class DashboardView(View):
|
||||
def get(self, request):
|
||||
return TemplateResponse(request, 'base.html')
|
||||
return TemplateResponse(request, 'dashboard.html')
|
Loading…
x
Reference in New Issue
Block a user