* Let the add character view use RequestContext.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 3 Feb 2008 18:30:21 +0000 (19:30 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 3 Feb 2008 18:30:21 +0000 (19:30 +0100)
influences/views.py

index 4df518f6a2902143dd65ef22c30908555b9f90ba..1c0f648a2c7c47f21d2fb48309efc3e9ca5a5e46 100644 (file)
@@ -49,7 +49,7 @@ def addCharacter(request):
         character.save()
         return HttpResponseRedirect(reverse('influences_character_detail', args=[character.id]))
 
-    return render_to_response('influences/add_character.html', {'form' : f})
+    return render_to_response('influences/add_character.html', {'form' : f}, RequestContext(request))
 
 def index(request):
     characters = request.user.character_set.all()