summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/urls.py1
-rw-r--r--website/views.py7
2 files changed, 8 insertions, 0 deletions
diff --git a/website/urls.py b/website/urls.py
index 88a9cac..91af4b3 100644
--- a/website/urls.py
+++ b/website/urls.py
@@ -4,4 +4,5 @@ from . import views
urlpatterns = [
path('', views.index, name='index'),
+ path('login', views.login, name='login'),
]
diff --git a/website/views.py b/website/views.py
index 4b6f624..f9d143a 100644
--- a/website/views.py
+++ b/website/views.py
@@ -10,3 +10,10 @@ def index(request):
context = {}
template = loader.get_template('index.html')
return HttpResponse(template.render(context, request))
+
+def login(request):
+ context = {}
+ context['navbar_style'] = 'none'
+ template = loader.get_template('login.html')
+ return HttpResponse(template.render(context, request))
+