HTTP methods in urls.py

2011-03-20 Thread haras.pl
It would be nice to have possibility to distinguish a HTTP method in urls.py. IMHO it would be clearer and more extensible in future for example: from django.conf.urls.defaults import ajax from django.conf.urls.defaults import http from django.conf.urls.defaults import url from django.conf.urls.de

Re: Default project layout / directory structure

2011-03-20 Thread Markus Gattol
> My company had same problem with project layout. We solved it by > creating django-starter project. django-starter is already used by 10 > or more projects and it seems, that this solution works. > > https://bitbucket.org/sirex/django-starter/src That does not seem to work with pip and virtual e

Re: Default project layout / directory structure

2011-03-20 Thread Markus Gattol
> My company had same problem with project layout. We solved it by > creating django-starter project. django-starter is already used by 10 > or more projects and it seems, that this solution works. > > https://bitbucket.org/sirex/django-starter/src That does not seem to work with pip and virtual e

Re: Default project layout / directory structure

2011-03-20 Thread sirex
On 11 Kov, 07:14, Simon Litchfield wrote: > Who votes we should come up with a django-blessed 'official' default project > layout / directory structure? My company had same problem with project layout. We solved it by creating django-starter project. django-starter is already used by 10 or more

Re: Customizable Serialization

2011-03-20 Thread Vivek Narayanan
>From a previous discussion on this list ( http://groups.google.com/group/django-developers/browse_thread/thread/2da69b9e24cf3438/17d87e3b27d4395d ) I gather that modifying the field options of a Model is not desirable due to a loss in orthogonality. Here is a modified permissions framework for ser