Thanks, but that doesn't do it either. I changed the regex to: ^portal/student/(?P<userid>\S+)/profile_edit/$
and it still doesn't match :( On Sep 5, 9:44 pm, Karen Tracey <[email protected]> wrote: > On Sat, Sep 5, 2009 at 11:32 PM, Jim Myers <[email protected]> wrote: > > > Hi, I'm using this regex in urls.py: > > > r'^portal/student/(?P<userid>\S+)/profile_edit$' > > > There's no trailing slash on this regex, but there is an end of string > > marker ($). So a match will have to end with 'profile_edit', no trailing > slash. > > > to try to match this url: > > >http://dd.xxxx.org/portal/student/xx.yy/profile_edit/ > > This url ends with a trailing slash, thus won't match the above regex. > > Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

