I just installed django and after installing that I created a django project and was trying to run django server by command:
python manage.py runserver
This is due to the version incompatibility.Just we need to upgrade the Django version to 2.1. Run the command in cmd:Pip install django==2.1. this will resolve the issue