Commit c05ce7c2 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Oubli d'un render dans dummy

parent 929d7fdf
......@@ -3,8 +3,7 @@
import django.shortcuts
from django.contrib.auth.decorators import login_required
from django.template import RequestContext
@login_required
def bonjour(request):
return django.shortcuts.render_to_response("dummy/bonjour.html", {"session" : request.session }, context_instance=RequestContext(request))
return django.shortcuts.render(request, "dummy/bonjour.html", {"session" : request.session })
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