mirror of
https://github.com/django/daphne.git
synced 2025-10-29 23:07:35 +03:00
* Move project tests to its own directory. * Install mock test dependency for Python2 only. * Do not install tox inside tox environment. * Exclude tests from sdist. * Use recent pip on Travis-CI.
31 lines
559 B
Python
31 lines
559 B
Python
SECRET_KEY = 'cat'
|
|
|
|
INSTALLED_APPS = (
|
|
'django.contrib.auth',
|
|
'django.contrib.contenttypes',
|
|
'django.contrib.sessions',
|
|
'django.contrib.admin',
|
|
'channels',
|
|
'channels.delay',
|
|
'tests',
|
|
)
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
}
|
|
}
|
|
|
|
CHANNEL_LAYERS = {
|
|
'default': {
|
|
'BACKEND': 'asgiref.inmemory.ChannelLayer',
|
|
'ROUTING': [],
|
|
},
|
|
'fake_channel': {
|
|
'BACKEND': 'tests.test_management.FakeChannelLayer',
|
|
'ROUTING': [],
|
|
}
|
|
}
|
|
|
|
MIDDLEWARE_CLASSES = []
|