Missing Table When Running Django Unittest with Sqlite3

前端 未结 12 1771
半阙折子戏
半阙折子戏 2021-01-03 23:42

I\'m trying to run a unittest with Django 1.3. Normally, I use MySQL as my database backend, but since this is painfully slow to spinup for a single unittest, I\'m using Sql

12条回答
  •  囚心锁ツ
    2021-01-03 23:54

    I had a similar problem and I was caused by a previous branch code, so I fixed it removing the pyc files in my projects:

    find -regex .*pyc | xargs sudo rm
    

提交回复
热议问题