#8571: comment framework throws obscure exception in {% comment_form_target %}
----------------------------------------------+-----------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: reopened | Milestone: 1.0
Component: django.contrib.comments | Version: SVN
Resolution: | Keywords: comment,
comment_form_target
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------+-----------------------------
Changes (by kire):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Also got this error.
Template code:
{% load comments %}
{% block content %}
<h1>{{ object.title }}</h1>
<a href="{{ object.image.url }}"><img src="{{ object.get_display_url }}"
alt="{{ object.title }}"/></a>
{% if object.caption %}<p>{{ object.caption }}</p>{% endif %}
{% get_comment_list for photologue.photo object.id as comment_list %}
{% for comment in comment_list %}
<div class="comment_{% cycle odd,even %}" id="c{{ comment.id }}">
<span class="comnum"><a id="c{{ comment.id }}" href="#c{{
comment.id }}">#{{ forloop.counter }}</a></span>
<p><b>{{ comment.person_name|escape }}</b> commented, on
{{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P"
}}:</p>
{{ comment.comment|escape|urlizetrunc:40|linebreaks }}
</div>
{% endfor %}
{% render_comment_form for object %}
{% endblock %}
urls.py:
(r'^comments/', include('django.contrib.comments.urls')),
--
Ticket URL: <http://code.djangoproject.com/ticket/8571#comment:8>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---