make sure you have latest python version installed.
create a python virtual environment with python3 -m venv venv
Install django packages using
pip install django
or pip install djangorestframework
Once all that is done.
make migrations using the command python manage.py makemigrations