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

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

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

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

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

Re: runserver ignoring SCRIPT_NAME?

2013-10-14 Thread JK Laiho
Thanks for your replies. Seeing as this seems to be quite specific to my current setup, I'll just try to solve this for my use case by replacing or wrapping one of the components that make up the machinery behind the runserver command. If the result is worth publicizing, I might put it up on