Django CommandError: App 'polls' has migrations
问题 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 the error: CommandError: App 'polls' has migrations. only the sqlmigrate and sqlflush commands can be used when an app has migrations So far I can't seem to find any guide on the internet, or this website for a solution to the program. 回答1: The problem is that you are using Django 1.8 while going through 1.6 tutorial. Pay attention to the