blob: f06ce27be8f28aa2c9f4d5fd90d4a92a542bb31c (
plain)
1
2
3
4
5
6
7
|
from django.shortcuts import render
from django.core.context_processors import csrf
def index(request):
context = {}
context.update(csrf(request))
return render(request, 'website/templates/index.html', context)
|