I’ve just got the same error here. The Django version installed on my machine was 1.7.
Upgrading to Django 1.8.* solved the problem for me.
方法:sudo pip3 install django==1.8
import django
django.VERSION
(1, 8, 0, ‘final’, 0)
问题解决
I’ve just got the same error here. The Django version installed on my machine was 1.7.
Upgrading to Django 1.8.* solved the problem for me.
方法:sudo pip3 install django==1.8
import django
django.VERSION
(1, 8, 0, ‘final’, 0)
问题解决