Hi, I'm using this regex in urls.py:

r'^portal/student/(?P<userid>\S+)/profile_edit$'

to try to match this url:

http://dd.xxxx.org/portal/student/xx.yy/profile_edit/

It's supposed to put "xx.yy" into userid parameter and match and use
the associated view.

But it doesn't match. I've banged my head for hours with regexes and
don't see why not.

Why won't this work?  Should I be doing this a better way?

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