Merge pull request #3487 from FinnStutzenstein/twisted

Use native twisted for daphne
This commit is contained in:
Emanuel Schütze 2017-11-28 12:10:39 +01:00 committed by GitHub
commit 174e8076ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -22,7 +22,7 @@ docs/_build/*
*.egg-info
build/*
dist/*
debug/
debug/*
.DS_Store
.idea

View File

@ -96,6 +96,7 @@ Core:
- Added 'go to top'-link [#3404].
- Added caching for the index views [#3419, #3424].
- Added projector prioritization [#3425].
- Use native twisted mode for daphne [#3487].
Mediafiles:
- Fixed reloading of PDF on page change [#3274].

View File

@ -7,3 +7,6 @@ from .utils.main import setup_django_settings_module
setup_django_settings_module()
channel_layer = get_channel_layer()
# Use native twisted mode
channel_layer.extensions.append("twisted")

View File

@ -6,3 +6,4 @@ asgi-redis>=1.3,<1.4
django-redis>=4.7.0,<4.8
django-redis-sessions>=0.5.6,<0.6
psycopg2>=2.7,<2.8
txredisapi==1.4.4