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:
0df2763
)
Instantiate the new comment form class.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 29 Oct 2008 20:48:21 +0000
(21:48 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 29 Oct 2008 20:48:21 +0000
(21:48 +0100)
Previously, the class itself was passed to the template, which obviously
didn't work.
influences/views.py
patch
|
blob
|
history
diff --git
a/influences/views.py
b/influences/views.py
index 6a6f874a7c242d621d5ef595cfc9ebe7bb38b57d..f95cfb4bef28d031b93300261bd3c51cbb044c50 100644
(file)
--- a/
influences/views.py
+++ b/
influences/views.py
@@
-176,7
+176,7
@@
def influence_detail(request, object_id):
context = {
'object' : o,
'comments' : comments,
- 'comment_form' : get_influence_comment_form(request.user.is_staff, None)
+ 'comment_form' : get_influence_comment_form(request.user.is_staff, None)
()
}
return render_to_response('influences/influence_detail.html', context, RequestContext(request))