understood. The page said the value of DJANGO_SETTINGS_MODULE should
be "Python path syntax", e.g. mysite.settings. What exactly is
"Python path syntax"? Would it be ok if I just provide the value as a
file name? Perhaps, "new_setting.py"?
Kann
On Jun 2, 2:03 pm, Oscar Carballal <piz...@gmail.com> wrote:
> 2011/6/2 Kann <vearas...@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 tohttps://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