[Answered ]-Error: No module named fileupload

2👍

If you’re using Django 1.4, and you’ve installed the fileupload app in the same directory as the settings.py, then you probably need to use the path myproject.fileupload instead of fileupload.

# settings.py
INSTALLED_APPS = (
    ...
    'myproject.fileupload',
    ...
)

# urls.py
url(r'^upload/', include('fileupload.urls'))

The alternative would be to move your fileupload app into the parent directory.

Leave a comment