projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae098fa
)
* Let the add character view use RequestContext.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 3 Feb 2008 18:30:21 +0000
(19:30 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 3 Feb 2008 18:30:21 +0000
(19:30 +0100)
influences/views.py
patch
|
blob
|
history
diff --git
a/influences/views.py
b/influences/views.py
index 4df518f6a2902143dd65ef22c30908555b9f90ba..1c0f648a2c7c47f21d2fb48309efc3e9ca5a5e46 100644
(file)
--- a/
influences/views.py
+++ b/
influences/views.py
@@
-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()