Tag Archives: python manage.py syncdb Unknown command

[Django] python manage.py syncdb Unknown command: ‘syncdb’

In the version after Django 1.9, the python manage.py syncdb command is modified to Python manage.py migrate, which runs normally

Select SQLite visual SQLite studio-3.1.1 to operate the database

Synchronization command:

commands are
python manage.py makemigrations
python manage.py migrate

Django 1.9 background becomes Chinese

In version 1.9, the simplified Chinese code is zh_ Hans, the traditional Chinese code is zh_ Hant。

Modify as follows:
simplified Chinese:
Modify language_ The code parameter is set to “zh Hans”

LANGUAGE_CODE = ‘zh-Hans’

Or
traditional Chinese:
Modify language_ The code parameter is set to “zh hant”

LANGUAGE_CODE = ‘zh_Hant’