Django 1.7 Migrations

前端 未结 4 684
时光取名叫无心
时光取名叫无心 2021-01-01 12:13

I am using django 1.7 and I just added a custom user model. When I run either python3 manage.py makemigrations or python3 manage.py migrate I get t

4条回答
  •  旧巷少年郎
    2021-01-01 12:26

    I met the same problem. and I found my Django version is 1.7.0. After running pip install django --upgrade, my Django version changed to 1.7.4, and the problem is gone.

    I remember the other computer that sync the projects files with this one through Internet, has Django version 1.7.3. So I come to the conclusion that this problem is caused by inconsistent versions of Django.

提交回复
热议问题