On 20/06/2015 2:16 AM, Todd Kovalsky wrote:
Having a miserable time trying to get a django site running on a wintel box.
The issue comes after I add models to models.py.
I keep getting the error Could not import settings 'myapp.settings'...No
module named myapp.settings.
Your DJANGO_SETTINGS_
Is this under manage.py or behind a wsgi front end like Apache/mod_wsgi or
ngnx?
If under manage.py, you need to cd to the directory containing manage.py
first. (There are ways around this if absolutely necessary.) If behind a
wsgi front end, there are other means for insuring that this director
How is your project folder structure?
If you open a normal python shell from the same directory as your manage.py
and execute "import myapp.settings" what does it say?
On Fri, Jun 19, 2015 at 1:16 PM, Todd Kovalsky
wrote:
> Having a miserable time trying to get a django site running on a wintel
Having a miserable time trying to get a django site running on a wintel box.
The issue comes after I add models to models.py.
I keep getting the error Could not import settings 'myapp.settings'...No
module named myapp.settings.
Very irritating trying to get a site up and working on a windows ma
4 matches
Mail list logo