On Thu, Mar 21, 2013 at 5:05 PM, DJ-Tom <event...@gmail.com> wrote:Simple, you maintain two settings.py files, make one with Dev_settings.py and two with Prod_settings.py.
You can run dev and production applications like this
python manage.py runserver --settings=Dev_settings
python manage.py runserver --settings=Prod_settings
it is all about switching between settings.py files.
This won't work for me since I'm not using "runserver" on the production machine, but Apache/WSGI
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment