The regular expression was incorrect (sorry i was half drunk at the
time of doing it), it is:
url(r'^approved/(((?P[a-zA-Z ,-]+)/)?)(((?P
[0-9]+)/)?)$', views.get_approved_images, image_info,
name='approved'),
I think it is a much nicer solution to only require one url pattern
for use in the
On Fri, Sep 25, 2009 at 11:22 AM, Lewis Taylor
wrote:
>
> I should have also noted all url resolves fail, not just with no
> arguments.
>
> On Sep 25, 4:11 pm, Lewis Taylor wrote:
> > Here it goes:
> >
> > I wanted a clean url structure so i tried to abstract as much as i
> > could in one url pat
I should have also noted all url resolves fail, not just with no
arguments.
On Sep 25, 4:11 pm, Lewis Taylor wrote:
> Here it goes:
>
> I wanted a clean url structure so i tried to abstract as much as i
> could in one url pattern. it looks something like this:
>
> url(r'^approved/((?P[a-zA-Z ,-]
Here it goes:
I wanted a clean url structure so i tried to abstract as much as i
could in one url pattern. it looks something like this:
url(r'^approved/((?P[a-zA-Z ,-]+)?)(/?)((?P[0-9]+)?)(/?)
$', get_approved_images, name='approved_images')
this in theory should allow the return of
1) all ima