5👍
✅
You have to use the special file name :memory: to instruct sqlite to use an in memory database.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
should do the trick.
Source:stackexchange.com