Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed comments from blog entries.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@11355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 24a5535a5351fc0d0cd69d116441dfc67a2c84a8 1 parent a7c1ccc
jacob authored
Showing with 0 additions and 23 deletions.
  1. +0 −23 django_website/templates/blog/entry_detail.html
View
23 django_website/templates/blog/entry_detail.html
@@ -3,30 +3,7 @@
{% block title %}Weblog | {{ object.headline|escape }}{% endblock %}
{% block content %}
-
<h1>{{ object.headline|safe }}</h1>
{{ object.body|safe }}
<p class="date small">Posted by <strong>{{ object.author }}</strong> on {{ object.pub_date|date:"F j, Y" }}</p>
-
-{% load comments %}
-{% get_comment_list for blog.entry object.id as comment_list %}
-
-<div id="content-secondary">
-<h2 id="comments">Comments</h2>
-
-{% for comment in comment_list %}
-<div class="comment" id="c{{ comment.id }}">
- <h3>{{ comment.user_name|escape }} <span class="small quiet">{{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P" }}</span></h3>
- {{ comment.comment|escape|urlizetrunc:"40"|linebreaks }}
-</div>
-{% endfor %}
-
-{% if object.comments_enabled %}
-<h2>Post a comment</h2>
-{% render_comment_form for blog.entry object.id %}
-{% else %}
-<h2>Comments are closed</h2>
-<p>To prevent spam, comments are no longer allowed after sixty days.</p>
-{% endif %}
-</div>
{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.