mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
22 lines
No EOL
502 B
Python
22 lines
No EOL
502 B
Python
from settings import *
|
|
DATABASES = {
|
|
'default': {
|
|
'NAME': ':memory:',
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'USER': 'newsblur',
|
|
'PASSWORD': '',
|
|
'HOST': '127.0.0.1',
|
|
}
|
|
}
|
|
MONGO_DB = {
|
|
'NAME': 'newsblur_test',
|
|
'HOST': '127.0.0.1',
|
|
'PORT': 27017
|
|
}
|
|
|
|
TEST_DATABASE_NAME = ":memory:"
|
|
|
|
# from django.db import connection
|
|
# cursor = connection.cursor()
|
|
# cursor.execute('PRAGMA temp_store = MEMORY;')
|
|
# cursor.execute('PRAGMA synchronous=OFF') |