Re: Django & uWSGI best practices

2012-05-13 Thread chuwy
Yeah. But default Ubuntu's uwsgi init-script seems so pretty, featureful and complete, but without a word about emperor-mode, so I think this is not mainstream way of running applications. Anyway, many thanks. P.S. If you can give more "random" advices or links about deploying multiapp configura

Django & uWSGI best practices

2012-05-11 Thread chuwy
Hi. I'm going to deploy a few (8-12) Django projects on my VDS with Ubuntu 12.04 and nginx. And I wonder how should configuration look like, to be explicit, simple and easy-to-understand for others (it will be maintained by another dude). Should I use emperor-mode for such a small amount of site

Re: ValueError at /login/ Unknown password hashing algorithm 'yara'. Did you specify it in the PASSWORD_HASHERS setting?

2012-04-20 Thread chuwy
So did you? Since 1.4 you can specifyyour own hash algorithms by PASSWORD_HASHERS. You may look at your settings.py. On Friday, April 20, 2012 9:07:11 PM UTC+8, Mai wrote: > > View.py > def login(request): > s

A weird behaviour of imagestore app

2012-04-20 Thread chuwy
Hi, all. I'm trying to install imagestore app in my project. Default models are created succefully, and all other parts working properly. But, it have a feature to extend base (abstract) models and create your own by some complicated mechanism. This is mine