summaryrefslogtreecommitdiff
path: root/website/views.py
blob: f7daae8099f44c2ddb661049e88cf9b872302073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from django.shortcuts import render
from django.utils.encoding import force_text
from django.contrib.contenttypes.models import ContentType
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response, redirect
from django.views.decorators.csrf import csrf_exempt
from django.core.context_processors import csrf
from django.contrib.auth import authenticate, login, logout
from django.contrib.admin.models import CHANGE
from django.contrib.auth.decorators import login_required


def home(request):
    return render_to_response('base.html')