Thursday, June 2, 2011

Re: Confusion about DJANGO_SETTINGS_MODULE

2011/6/2 Kann <vearasilp@gmail.com>:

> Yep, but what if I just want to load all configurations from the
> entirely new file. What should be the proper value for me to give to
> the DJANGO_SETTINGS_MODULE?

Take a look to https://docs.djangoproject.com/en/dev/topics/settings/

You can load the new settings via "runserver
--settings=new_settings_file.py or in production stablishing the
DJANGO_SETTINGS_PATH from the WSGI server.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment