Skip to content

Instantly share code, notes, and snippets.

@L42y
Created October 26, 2011 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save L42y/1315696 to your computer and use it in GitHub Desktop.
Save L42y/1315696 to your computer and use it in GitHub Desktop.
load comments
{% load comments %}
{% get_comment_count for article as comment_count %}
{% render_comment_list for article %}
<table>
<form action="{% comment_form_target %}" method="post">
{% csrf_token %}
{{ form }}
<tr>
<td colspan="2">
<input type="submit" name="submit" value="Post">
<input type="submit" name="preview" value="Preview">
</td>
</tr>
</form>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment