On Feb 2, 7:56 pm, timc3 wrote:
> Well the space was still an issue it seems.
>
> I have the following urlconf:
>
> url(r'^group_view/(?P[-\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
On Feb 2, 5:56 pm, timc3 wrote:
> Well the space was still an issue it seems.
>
> I have the following urlconf:
>
> url(r'^group_view/(?P[-\w\s]+)/$', 'mysite.views.vs_group_view',
> name="group_view"),
>
> Which matches the whitespace but my URL reverse match still breaks.
>
> Any ideas?
The {%
Then it doesn't match the plus sign. I guess I need to put something
in my regex to match that as well?
--
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
On Tue, Feb 2, 2010 at 12:13 PM, timc3 wrote:
> 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
Well the space was still an issue it seems.
I have the following urlconf:
url(r'^group_view/(?P[-\w\s]+)/$', 'mysite.views.vs_group_view',
name="group_view"),
Which matches the whitespace but my URL reverse match still breaks.
Any ideas?
--
You received this message because you are subscribed
To answer my own question I think this has more to do with matching a
URL that has a string in it to my urls.py.
So this should really be about creating the correct entry in my urls
to match spaces..
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
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 %
7 matches
Mail list logo