Thursday, June 2, 2011

Re: Confusion about DJANGO_SETTINGS_MODULE

On Thu, Jun 02, 2011 at 05:29:01AM -0700, Kann wrote:
> Thanks Oscar, I read the page already, but am still not totally
> 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"?

"new_setting"

And i would recommend you read this part of python tutorial:

http://docs.python.org/tutorial/modules.html

--
Kirill Spitsin

--
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