Re: Feature request: New middleware method for "universal" decoration

2013-10-14 Thread gavinwahl
This topic was also discussed during the deprecation of TransactionMiddleware and the introduction of ATOMIC_REQUESTS. The existing middleware semantics can't guarantee that __exit__ (during process_response) will get called no matter what, necessitating the setting that invokes BaseHandler.ma

Re: Nginx and Ubuntu Service Define

2013-10-14 Thread Daniele Procida
On Mon, Oct 14, 2013, Muhammed TÜFEKYAPAN wrote: >I use digitalocean as a server. I upload my django project files on my >server and start to setup. Made postgresql settings etc but I can't define >my new project as a new service on nginx. How can I define my new projest >as a service and make

Re: Nginx and Ubuntu Service Define

2013-10-14 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thank you. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails f

Nginx and Ubuntu Service Define

2013-10-14 Thread Muhammed TÜFEKYAPAN
Hello everybody, I use digitalocean as a server. I upload my django project files on my server and start to setup. Made postgresql settings etc but I can't define my new project as a new service on nginx. How can I define my new projest as a service and make possible to start it as "service bl

Feature request: New middleware method for "universal" decoration

2013-10-14 Thread Simon Percivall
If this has already been discussed/rejected/accepted, sorry, I did a search and found nothing. There are several snippets and a number of methods to enable "universal" decorations of views in Django, but none of them feels really natural. Also, being able to keep this class of code in one place