Default project layout / directory structure

2011-03-10 Thread Simon Litchfield
Who votes we should come up with a django-blessed 'official' default project layout / directory structure? Might sound like a triviality, but sometimes it's the little things. 1. Newcomers -- startproject throws 9/10 into confusion and results in a messy first few projects. 2. Gurus -- eac

Re: Problem with DECIMAL_SEPARATOR

2011-03-10 Thread Ɓukasz Rekucki
On 10 March 2011 21:49, Siara wrote: > Hi > I'm writing application which return json with data for another app. > I'm from Poland so I set LANGUAGE_CODE = 'pl', the problem is that we > are using coma instead of dot in float numbers, and setting language > to polish changing dot for coma in jsons

Problem with DECIMAL_SEPARATOR

2011-03-10 Thread Siara
Hi I'm writing application which return json with data for another app. I'm from Poland so I set LANGUAGE_CODE = 'pl', the problem is that we are using coma instead of dot in float numbers, and setting language to polish changing dot for coma in jsons, but i need dot. I tried DECIMAL_SEPARATOR = '.

Re: Proposal: Add current_app to request and pass it to template loaders.

2011-03-10 Thread Doug Ballance
I too would very much like a request aware template loader. For my project the threadlocals approach was the only way I could find to meet my requirements of a site-based template structure (project has multitenancy) and user selectable template 'themes'. I've tried looking at the django source t