2012/8/17 Alexis Roda <alexis.roda.villalo...@gmail.com>

> I think that this is not the problem because I can access to volunters
>> without problems. I have problems only with admin, organizers and events
>> paths.
>>
>
> So you have problems with all the urls past the first with a wrong pattern.
>
> ~$ python
> Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import re
> >>> re.compile(r'^volunters/(?V<**volunter_id>\d+)/$')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.6/re.py", line 190, in compile
>     return _compile(pattern, flags)
>   File "/usr/lib/python2.6/re.py", line 245, in _compile
>     raise error, v # invalid expression
> sre_constants.error: unexpected end of pattern
> >>> re.compile(r'^volunters/(?P<**volunter_id>\d+)/$')
> <_sre.SRE_Pattern object at 0xb76ec590>
>

I found that. The problem is that I couldn't use V<volunter_id>, I have to
use P<volunter_id>. I thought that it wasn't part of the regular expresion.

Thanks!


>
>
> Regards
>
>
> --
> 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+unsubscribe@**
> googlegroups.com <django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
>
>

-- 
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.

Reply via email to