Skip to content

Commit

Permalink
Edited the comment creating view to not throw away the body of commen…
Browse files Browse the repository at this point in the history
…ts after they are rendered (to support easier editing of comments by admins).
  • Loading branch information
lethain committed Jun 2, 2008
1 parent ed9fbcb commit 8c41bb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views.py
Expand Up @@ -89,12 +89,13 @@ def make_identifier(id, time):
email = form.cleaned_data['email']
webpage = form.cleaned_data['webpage']
rendered = form.cleaned_data['rendered']
body = form.cleaned_data['body']
c = Comment(entry=entry,
parent=parent,
name=name,
email=email,
webpage=webpage,
body="",
body=body,
html=rendered,
)
c.save()
Expand Down

0 comments on commit 8c41bb7

Please sign in to comment.