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 <kmtra...@gmail.com> wrote: > On Sat, Sep 5, 2009 at 11:32 PM, Jim Myers <myer...@gmail.com> 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 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 -~----------~----~----~----~------~----~------~--~---