Fix the bug: Not able to submit in edit-detail and upload-file pages

Caused by the codes still using removed django API (create-update)