how to use django sites framework in live server

2017-09-10 Thread Ahmed Mohamed
down votefavorite I am a beginner in django and i used sites framework to make multiple instances of a website use the same code and data

Re: Testing file upload via a form?

2017-09-10 Thread Derek
Thanks Melvyn Yes, over time I have come to learn the need for fat models and Useful Managers, plus having logic not embedded in the views (especially for processing of data arising from a form). So views are mostly "handlers" to ensure that the forms are presented, the data is retrieved and pas

Re: Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-10 Thread Antonis Christofides
Hi, add something like --log-file=/var/log/weather_project/gunicorn.log to the gunicorn command line (and make sure Gunicorn has permission to write to that directory), and restart the program. The information you need to locate the problem is usually in that log file. Regards, Antonis Antonis