Hi there,
why there is no reference to commented object in preview?

django/contrib/comments/views/comments.py:95
        return render_to_response(
            template_list, {
                "comment" : form.data.get("comment", ""),
                "form" : form,
                "next": next,
            },
            RequestContext(request, {})
        )

It would be nice to have "object" variable with commented object.
Views knows about it using content type and pk. Thanks to lazy
evaluations of querysets, there won't be any hits to database unless
necessary.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.

Reply via email to