On Feb 2, 7:56 pm, timc3 <t...@timc3.com> wrote: > Well the space was still an issue it seems. > > I have the following urlconf: > > url(r'^group_view/(?P<slug>[-\w\s]+)/$', 'mysite.views.vs_group_view', > name="group_view"), > > Which matches the whitespace but my URL reverse match still breaks. > > Any ideas?
You are matching 'My%20ParentGroup' against \w\s, that is a-zA-Z0-9_ and whitespace. If I am not mistaken the character % is not matching... Anssi Kääriäinen -- 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.