“No installed app with label 'admin'” in empty Django 2.2 project

一曲冷凌霜 提交于 2019-12-04 08:52:14

The key error is earlier in the traceback:

raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).

In Django 2.2, the minimum version of SQLite is increased from 3.7.15 to 3.8.3. Your installed version is too old.

This usually happens if you were previously working in an older version python/django, and now you try to run the app in newer version. To fix this, migrate and apply migrations, install any modules found missing. To avoid these kind of issues, use container like docker.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!