hi latest trunk. in my urls.py I have a url: url(r'^addlandmark/((?P<id>\d+)/)?$', 'addlandmark', name='add_landmark'),
as can be seen, the id part is optional. In my template I have: <a href="{% url add_landmark id=p.id %}">Edit this entry</a> this does not work as it says Reverse not found. How does one use this tag when the argument is optional? -- regards kg http://lawgon.livejournal.com --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---