#13193: Reverse should ignore unused kwargs like Python string interpolation ---------------------------+------------------------------------------------ Reporter: t...@ktrl.com | Owner: nobody Status: new | Milestone: 1.2 Component: Uncategorized | Version: 1.1 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ Python does a good job ignoring unused kwargs with string formatting, django should as well. {{{
url(r'^member/(?P<id>\d+)/$', 'edit', name="edit"), reverse('edit', kwargs={'id': 3}) #SUCCESS reverse('edit', kwargs={'id': 3, 'random key': 'stuff'}) #FAILS }}} -- Ticket URL: <http://code.djangoproject.com/ticket/13193> Django <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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.