Wednesday, 18 September 2013

Regex URL in django doesnt work

Regex URL in django doesnt work

i have this in my URL config:
url(r'^fotogalerie/(?P<nazev_slozky>([^/]+/)+)/$', fotogalerie_slozka),
I want to work for all URL that begin at fotogalerie, so for
"fotogalerie/something/","fotogalerie/so/on/","fotogalerie/i/don't
know/anything/". Why this isnt work?

No comments:

Post a Comment