I am working with an external REST Provider whose GUIDs might have
spaces, plus signs and a few other characters in (I can't change
this).
In my template I use the following, which normally works except when
their are encoded characters in the string:
{% url group_view group.groupName|urlencode %}
Which raises a TemplateSyntaxError:
NoReverseMatch: Reverse for 'group_view' with arguments '(u'My
%20ParentGroup',)' and keyword arguments '{}' not found.
The url reverse works properly when I don't have the spaces and I
can't use slugify for obvious reasons.
Any ideas?
Thanks in advance.
--
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.