Hi all,

I'm running Django 1.3, and I can't get a simple reverse() with keywords to 
work.

My urlconf has this:

       url(r'^results/text/(?P<jobkey>)/$', 'textresults', 
name='exporttextresults')

My code does this:

       exporturl = reverse("exporttextresults", kwargs={"jobkey": returned_key})

And I get this error:

       *** NoReverseMatch: Reverse for 'exporttextresults' with arguments '()' 
and keyword arguments '{'jobkey': 
'40cccc756766e8de9e0994536cf11773267d469c3a4ed77da53e89b8bc1de6c9'}' not found.


What's the right calling sequence for a reverse to an URL with a keyword 
argument?

Thanks,

John

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

Reply via email to