基础说明
1.10的User认证都是正常的,但是1.9, 缺少相关的零件。升级sudo pip3 卸载再安装1.10.7即可。
详情查看官方文档:
https://docs.djangoproject.com/en/1.10/releases/1.10/#whats-new-1-10
ERROR 更改后
?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default'
HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/1.10/ref/databases/#mysql-sql-mode
Operations to perform:
Apply all migrations: admin, auth, auths, contenttypes, jnu, news, sessions, twfabu
Running migrations:
Applying auth.0008_alter_user_username_max_length... OK
root@ubuntu:~/m.actanble.com$ python3 manage.py runserver
Performing system checks...