I'm trying to use a URL tag as following: <a href="{% url delete-quote-page object_id=object.id %}">delete</a>
my named url is here: url(r'^quote/delete/(?P<object_id>\d+)/$', 'django.views.generic.create_update.delete_object', dict(quote_info, post_delete_redirect='/sam/'), name="delete-quote-page"), If I change the code to look like this: <p><a href="http://localhost:8000/sam/quote/delete/ {{ object.id }}">delete</a> The link works perfectly. Also, if I hard code code the parameter value like so: <a href="{% url delete-quote-page 1 %}">delete</a> Then the link also works perfectly. However, when I do : <a href="{% url delete-quote-page object_id=object.id %}">delete</a> I get the error: Caught an exception while rendering: Reverse for 'sam_project.delete- quote-page,' with arguments '('',)' and keyword arguments '{}' not found. If anyone has any hints they would be most appreciated. Many thanks, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---