Wednesday, October 22, 2014

no module in error log django-1.3.7

Hello,
I am trying to run a python app in pythonanywhere.com. If I run the project through the bash it runs without any error. But when I see it in the browser with the name like myproject.pythonanywhere.com, it display "something went wrong".
And when I check in the error log, it show me this:

no module named appname.

What went wrong?

This is the path structure of the project:

projectname
------__init__.py
------manage.py
------settings.py
------urls.py
------appname
----------__init__.py
----------admin.py
----------forms.py
----------models.py
----------views.py
----------tests.py
------static
----------css
--------------style.css
----------js
--------------ui.js
------templates
----------index.html

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B8okoLeb9u4pf5MGvKX2jkb5c1LsyUJx4CDC9qt6uD0uCeh2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment