Forums

Caught ImportError while rendering: No module named moneyrecord.urls

What could be the problem?

Without more context (the contents of your wsgi.py file, and your folder layout) it won't be possible to work out what's wrong.

My guess is that you're adding the wrong directory to sys.path in your wsgi.py, but I can't be sure without more info.

@somlim2529: Welcome to PA. I hope you enjoy your time with us!!!!

I'm having the same problem. Might be that it is because I created my project locally with Django 1.4 and on PythonAnywhere they run python 1.3.7 so the project structure might look different.

My settings.py is located under / > home > user > jazz > SoilMapper > SoilMapper

my project files are located under / > home > user > jazz > SoilMapper > VsoilMap

This how my wgsi is defined:

path = '/home/user/jazz/SoilMapper'
os.environ['DJANGO_SETTINGS_MODULE'] = 'SoilMapper.settings'

And this is the error I get:

No module named soilMapper.urls

See my response in your other forum thread.