class Article (models. Model) :
Title=models. CharField (max_length=50)
Contents=RichTextField ()
The date=models. DateTimeField (auto_now=True)
The gnosis.xml.validity=models. CharField (max_length=255)
The class Meta:
Managed=False
Db_table='article'
Run the command
python manage. Py makemigrations
Python manage. Py migrate
Then create a superuser, admin interface:
Click on the change, or add fill out the content spot save error:
Then I looked at open sqlite database, found this Article table is not synchronous, solve!