Django CommandError: App 'polls' has migrations

后端 未结 5 1470
面向向阳花
面向向阳花 2021-02-04 07:08

Trying to follow the tutorial at Django project.

The problem I\'ve come across is that when performing the command: python manage.py sql polls I\'m given th

5条回答
  •  我在风中等你
    2021-02-04 07:34

    Simply delete folder app-name/migrations.

    In Django 1.7 and Python 3.4 the solution I found is to delete this folder and everything works now.

提交回复
热议问题