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.
Source:stackexchange.com