django can't find new sqlite version? (SQLite 3.8.3 or later is required (found 3.7.17))

后端 未结 9 1476
既然无缘
既然无缘 2020-12-08 10:18

I\'ve cloned a django project to a Centos 7 vps and I\'m trying to run it now, but I get this error when trying to migrate:

$ python manage.py m         


        
9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 11:01

    i had recently same problem My solution was to change source code site-packages\django\db\backends\sqlite3\base.py line around 68 So far no side effects.

    def check_sqlite_version(): if Database.sqlite_version_info < (3, 7, 3): raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)

提交回复
热议问题