Nov 29
Speed up Django testing with sqlite
Using MySql default ISAM storage type for testing in Django can be slow. To use sqlite in memory database with transactions support add this code to the end of settings.py:
if 'test' in sys.argv:
DATABASES = {
'default': {'ENGINE': 'django.db.backends.sqlite3'}
}
I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working at 
blog comments powered by Disqus