Re: uWSGI documentation

2011-04-04 Thread Kristaps Kūlis
Hi, How uwsgi is more secure than FastCGI ? I believe that running manage.py for production deployments is "not way to go", as it has been noted by django devs previously. What purpose would runuwsgi command serve ? On Sat, Apr 2, 2011 at 2:23 PM, James Pic wrote: > Hello everybody, > > Do

Re: Uncaught exception handler

2011-03-30 Thread Kristaps Kūlis
Why can't you just create middleware and use process_exception or write python logging handler ? Kristaps Kūlis On Wed, Mar 30, 2011 at 1:48 PM, Sameer Rahmani wrote: > hi, > i make a little change to django 1.2.5 according to my needs and i want > to know your notes about i

Re: State of X-Sendfile support?

2011-03-24 Thread Kristaps Kūlis
I wish to note that Nginx implements this feature differently than LigHTTPd and Apache2 http://wiki.nginx.org/XSendfile , Should django implementation consider that ? My proposal to implement would be: 1. HttpFileResponse which takes file location (relative to MEDIA_URL ?) 2. HttpFileResponse c

Re: secret key from file...

2011-03-22 Thread Kristaps Kūlis
r too much googling to find "how" and "what" to do, at least I believe that such stuff should be put in docs to make django more sysadmin friendly. Kristaps Kūlis On Mon, Mar 21, 2011 at 8:01 PM, Matthew Roy wrote: > I don't think settings.py needs to be any more comp

Re: secret key from file...

2011-03-21 Thread Kristaps Kūlis
te adequate strenght / randomness secret would be beneficial . Kristaps Kūlis On Mon, Mar 21, 2011 at 4:59 PM, Matt Harasymczuk wrote: > I had an idea. > From time to time I find on the Internet a django app source code with > secret_key shown. > > how about creating an secret.key file ne