Re: django 1.4 : gunicorn can't find static files. settings option

2014-01-05 Thread Mahdi Mazaheri
Hi Huseyin, I have the same problem as Bo but this again did not solve my problem. This works with django webserver (runserver) but not with gunicorn. Any Ideas? Thanks in advance Mahdi On Wednesday, May 16, 2012 10:38:39 AM UTC+4:30, huseyin yilmaz wrote: > > For development, you could add thi

Pyes and global connection

2013-09-20 Thread Mahdi Mazaheri
Hi I want to use Pyes with django. The problem is that I dont know how to make a global connection in django so get rid of overhead of openning and closing the connection. this is how making connection with pyes: import pyes conn = pyes.ES('127.0.0.1:9500') should I define a global variable(Where