On Thu, Apr 22, 2010 at 11:34 AM, vjimw <im.a.machobea...@gmail.com> wrote:
> Adding the name argument seems pretty straight forward, but I must be > doing something wrong. I am writing tests and have the URLs named > seems like the easiest way to look them up. > > My URL dispatch file was working before I added any of the name='this- > name' arguments. > > You can't specify name= when you have tuples in your patterns, you must use the url() function ( http://docs.djangoproject.com/en/dev/topics/http/urls/#url) if you want to use that syntax. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.