you have '-' in the middle of your character lists. If you do not
mean [a-z], you should always make the dash the last character, like
so: [az-].
The expression as pasted is requesting ranges [w-:] in a couple of
places, which is invalid.
On Mon, Oct 3, 2011 at 3:47 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Mon, Oct 3, 2011 at 9:56 AM, He Jibo <hejibo@gmail.com> wrote:
>> (r'^pagerank/(?P<url>([/w-]+/.)+[/w-]+.([^a-z])(/[/w-:
>> ./?%&=]*)?|[a-zA-Z/-/.][/w-]+.([^a-z])(/[/w-: ./?%&=]*)?)',
>> 'ueseo.pagerank.views.CheckPageRankStatic'),# a static page version of page
>> rank check
>
> is that a copy/paste? i think you're using forward slashes where
> backslashes are needed
>
> --
> Javier
>
> --
> 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.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
>
--
Bjarni R. Einarsson
Founder, lead developer of PageKite.
Make localhost servers visible to the world: http://pagekite.net/
--
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.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment