Aviv Keshet | 62cf047 | 2013-05-04 22:40:17 -0700 | [diff] [blame] | 1 | """Django settings for lightweight in-memory model database. |
| 2 | """ |
| 3 | |
| 4 | import common |
| 5 | |
| 6 | LIGHTWEIGHT_DEFAULT = { |
| 7 | 'ENGINE': 'django.db.backends.sqlite3', |
| 8 | 'NAME': ':memory:' |
| 9 | } |
| 10 | |
| 11 | DATABASES = {'default': LIGHTWEIGHT_DEFAULT} |
| 12 | |
| 13 | INSTALLED_APPS = ( |
| 14 | 'frontend.afe', |
| 15 | # 'frontend.tko', |
| 16 | ) |
| 17 | |
Brian Norris | 2aac43a | 2018-04-10 10:59:11 -0700 | [diff] [blame] | 18 | # Use UTC, and let the logging module handle local time. |
| 19 | USE_TZ = False |
| 20 | TIME_ZONE = None |
| 21 | |
Aviv Keshet | 62cf047 | 2013-05-04 22:40:17 -0700 | [diff] [blame] | 22 | # Required for Django to start, even though not used. |
| 23 | SECRET_KEY = 'Three can keep a secret if two are dead.' |
| 24 | |
| 25 | AUTOTEST_CREATE_ADMIN_GROUPS = False |