From 47605c20e87fa3bb8f5fa5aafde506804bc9d6d2 Mon Sep 17 00:00:00 2001 From: Brian Helba Date: Fri, 21 Nov 2025 14:43:10 -0500 Subject: [PATCH] Update Daphne docs, noting at WhiteNoise is compatible As of [WhiteNoise 4.0](https://whitenoise.readthedocs.io/en/latest/changelog.html#id27) (released 2018-08-10), WhiteNoise supports running with Daphne. See [the fix in WhiteNoise](https://github.com/evansd/whitenoise/commit/ce74438f4de7e35aa922bf76e2159768708c6667) and [the original issue](https://github.com/evansd/whitenoise/issues/77). --- docs/installation.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 526251377..9ae226650 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -62,11 +62,15 @@ take control of the ``runserver`` command. See :doc:`introduction` for more. Please be wary of any other third-party apps that require an overloaded or replacement ``runserver`` command. Daphne provides a separate - ``runserver`` command and may conflict with it. An example - of such a conflict is with `whitenoise.runserver_nostatic `_ - from `whitenoise `_. In order to - solve such issues, make sure ``daphne`` is at the top of your ``INSTALLED_APPS`` - or remove the offending app altogether. + ``runserver`` command and may conflict with it. In order to solve such + issues, make sure ``daphne`` is at the top of your ``INSTALLED_APPS`` or + remove the offending app altogether. + + However, `WhiteNoise `_ does + `provide support` + for running ``runserver`` with Daphne, provided that + ``whitenoise.runserver_nostatic`` is placed *above* ``daphne`` in + ``INSTALLED_APPS`. Type checking support