mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-02 05:33:57 -09:00
The test is using the django integration of whitenoise as it's the most common setup and allows to model the test case after the django one as well. The setup we need to do is a bit more complicated though and follows the whitenoise getting started documentation [1]. We then request a .css file from the django admin app that is enabled by default in template project. Due to running django's development server with --nostatic we ensure that static file handling is taken over by whitenoise. [1] https://whitenoise.readthedocs.io/en/stable/django.html Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> Signed-off-by: Julien Olivain <ju.o@free.fr>
8 lines
180 B
Plaintext
8 lines
180 B
Plaintext
config BR2_PACKAGE_PYTHON_WHITENOISE
|
|
bool "python-whitenoise"
|
|
help
|
|
Radically simplified static file serving for WSGI
|
|
applications.
|
|
|
|
https://github.com/evansd/whitenoise
|