On Feb 2, 5: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?
The {% url %} tag is a bit odd, and may well not evaluate the filter. Instead, try this: {% with group.groupName|urlencode as encoded_name %} {% url group_view gencoded_name %} {% endwith %} -- DR. -- 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.