On Thu, 2008-12-11 at 08:08 -0800, Roy wrote:
> For example, I want to provide a link to edit a comment using the
> admin, so the link should be /admin/comments/comment/{{ comment.id}}/
> using contrib.comments. But can I use the {% url %} tag instead of
> hardcoding this link?At the moment, no, you can't do this. It's on the design table for 1.1, but it's a hard-ish problem (amongst other things is the issue that you can have more than one admin site, so reverse() needs to know which admin site you're trying to reverse into). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

