1👍
✅
You need to remove the .html
in your URL conf so that it becomes url(r'^upload/$', upload, name='upload')
. So if your browser url is http://127.0.0.1:8000/upload/upload/
it should go to the upload
view.
To display content in upload.html
replace render(request, 'Final.html')
with render(request, 'upload.html')
in your upload view
Source:stackexchange.com