Dive into the archives.
- Using SQLite in Django for Unit Testing
Great thing about Django is that configuration – settings.py is pure Python file. This gives you power and expressiveness allowing to use conditions and expressions normally available in python script. On past few projects, I’ve used ‘trick’ to automatically determine if ‘manage.py test’ was invoked and use SQLite for unit testing instead of standard [...]