Forums

no module named "app name"

I created an Django 1.6 project with Python 3.3.

After I tried to create a Django form and to import is with

from app_name.forms import form_name

I get the error

no module named 'app_name'

I also get this error when putting only

INSTALLED_APPS = ( ......... .......... 'main_app', )

It only works with

INSTALLED_APPS = ( ......... .......... 'project_name.main_app',

Could somebody please help?

That's correct. You should do all your importing with the form project_name.app_name.thing_to_import