Commit 47828d72 authored by Daniel STAN's avatar Daniel STAN
Browse files

[wifimap] Correction template "login"

parent c6cd5a22
......@@ -25,6 +25,7 @@ import django.shortcuts
from django.template import RequestContext
from django.http import HttpResponse
#from django.contrib.auth.decorators import login_required, permission_required
def get_xml(request):
......@@ -32,4 +33,4 @@ def get_xml(request):
return HttpResponse(doc.toxml('utf-8'),content_type='text/xml; coding=utf-8')
def index(request):
return django.shortcuts.render_to_response('wifimap/index.html')
return django.shortcuts.render_to_response('wifimap/index.html', context_instance=RequestContext(request))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment