daphne/channels/management/commands
Jan Boysen fdc80cb269 runserver should respect FORCE_SCRIPT_NAME setting (#435)
* 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
2016-11-18 06:26:16 -08:00
..
__init__.py Rename to plural "channels", start fleshing out req/resp cycle 2015-06-08 10:51:51 -07:00
runserver.py runserver should respect FORCE_SCRIPT_NAME setting (#435) 2016-11-18 06:26:16 -08:00
runworker.py Sort imports and make Travis run isort (#425) 2016-11-05 12:08:38 +01:00