Thanks! That was it! I had completely overlooked that and the url()
function was even in another URLs file in our project.

On Apr 22, 10:45 am, kmtracey <kmtra...@gmail.com> wrote:
> 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 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
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.

Reply via email to