Thanks all, that cleared up a lot of my confusions and gave me a really good lesson. Now I am facing a new problem and will post a new topic then.
Kann On Jun 2, 2:41 pm, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Thu, 2011-06-02 at 05:29 -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"? > > assume that you have a directory called 'mysite'. In this directory you > will have to have an empty file called __init__.py. Then any file in > that directory with a 'py' extension can be imported leaving out the > extension. For example, foo.py can be imported as mysite.foo instead of > mysite/foo. For this to work, 'mysite' should be on the python path. > -- > regards > KGhttp://lawgon.livejournal.com > Coimbatore LUG roxhttp://ilugcbe.techstud.org/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.