summaryrefslogtreecommitdiff
path: root/website/views.py
blob: f9d143abd8c8274d28d96d7672a5ff804cb34b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Create your views here.

from django.http import HttpResponse
from django.shortcuts import render
from django.shortcuts import render_to_response
from django.template import loader


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))