These are chat archives for django/django

22nd
Apr 2015
Nuno Khan
@psychok7
Apr 22 2015 13:36
hey guys
currently i run my django apps with runserver like this python manage.py runserver 0.0.0.0:8000 --settings=settings_local
but i dont know what the equivalent would be with gunicorn gunicorn -b 0.0.0.0:8000 wsgi:application to pass the --settings
anyone knows?
Mauro Oviedo
@moviedo
Apr 22 2015 15:01
that’s a good question, i’m not sure about that
Mir Nazim
@mnazim
Apr 22 2015 15:13
@psychok7
DJANGO_SETTINGS_MODULE=path.to.settings gunicorn —b 127.0.0.1:8000 path.to.wsgi:application
Nuno Khan
@psychok7
Apr 22 2015 16:06
@mnazim thanks, im gonna try that later on