Monday, October 3, 2011

Re: how to match a url in urls.py

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.

No comments:

Post a Comment