Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问题在标题中。
如果旧的测试数据库没有被破坏(当测试中止时会发生这种情况),我如何从命令行运行单元测试manage.py test而不必键入 yes。
manage.py test
谢谢
尝试使用--noinput选项(--no-input是 Django 1.9+ 中的替代别名)。
--noinput
--no-input
./manage.py test --noinput