Django: Error: Unknown command: 'makemigrations'

前端 未结 7 1662
夕颜
夕颜 2021-02-03 23:06

I am trying to follow the Django tutorial and I faced the following error when I enter python manage.py makemigrations polls

Unknown co         


        
相关标签:
7条回答
  • 2021-02-03 23:49

    Find out what version of django you're running (thanks @BradyEmerson):

    python -c "import django; print(django.get_version())"
    

    If older than 1.8:

    pip install --upgrade django
    
    0 讨论(0)
提交回复
热议问题