Re: Url resolver issues

2009-09-26 Thread Lewis Taylor
in the templates. However, as there seems to be no option to resolve the URL i have no choice. On Sep 25, 4:37 pm, Michael <newmani...@gmail.com> wrote: > On Fri, Sep 25, 2009 at 11:22 AM, Lewis Taylor > <lewisctay...@googlemail.com>wrote: > > > > > > > I shoul

Re: Url resolver issues

2009-09-25 Thread Lewis Taylor
I should have also noted all url resolves fail, not just with no arguments. On Sep 25, 4:11 pm, Lewis Taylor <lewisctay...@googlemail.com> 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 lo

Url resolver issues

2009-09-25 Thread Lewis Taylor
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

Translation problem in from django.utils.translation.trans_real : get_language_from_request()

2009-09-22 Thread Lewis Taylor
I'm not sure if this has been discussed before, my guess is yes, however i can't find anything about it. I noticed that the get_language_from_request method in trans_real only checks whether the django.mo file for a given locale is available in the django locale directory, and not an app or