Update views.py

Fix "CKEditor image upload does not work in windows". Both slashes "/" and reverse slash "\" should be replaced.
Merge commit '600d52d4fe380a7873509d6d2019f2e42250dd73'