The scenario is,
I cloned the Django code for OpenShift-V3 from here . When I run the code using python manage.py runserver getting an error as,
python manage.py runserver
I used a middleware CorsMiddleware but forget to install it so after install, it works perfectly.
pip install django-cors-headers.
So check something like it you may miss something like it.