mirror of
https://github.com/fspc/workstand.git
synced 2026-09-18 01:21:39 -04:00
Use dashboard view.
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
@@ -2,5 +2,5 @@ from django.conf.urls import url
|
|||||||
|
|
||||||
from .views import DashboardView
|
from .views import DashboardView
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^', DashboardView.as_view()),
|
url(r'^$', DashboardView.as_view()),
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ from django.views.generic import View
|
|||||||
|
|
||||||
class DashboardView(View):
|
class DashboardView(View):
|
||||||
def get(self, request):
|
def get(self, request):
|
||||||
return TemplateResponse(request, 'base.html')
|
return TemplateResponse(request, 'dashboard.html')
|
||||||
Reference in New Issue
Block a user