mirror of
https://github.com/django/daphne.git
synced 2025-04-23 18:22:15 +03:00
* Pass FORCE_SCRIPT_NAME to Daphne server when set FORCE_SCRIPT_NAME seems not to be honored any more with build-in runserver after activating channels app. The normal behavior of Django is the FORCE_SCRIPT_NAME is used as prefix when set while generating URLs so its possible to create a path prefix and determine different Django installations based on the path rather than hostname without having to prefix all paths in urls.py. * Only strip script_name from path if it starts with it * make tests happy again after setting kwarg root_path |
||
---|---|---|
.. | ||
__init__.py | ||
a_file | ||
base.py | ||
http.py | ||
settings.py | ||
test_binding.py | ||
test_generic.py | ||
test_handler.py | ||
test_management.py | ||
test_request.py | ||
test_routing.py | ||
test_sessions.py | ||
test_worker.py |