mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/python-whitenoise: new package
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>
This commit is contained in:
committed by
Julien Olivain
parent
c53d6ad99c
commit
cc114f7376
@@ -2280,6 +2280,7 @@ F: package/python-typing-inspection/
|
||||
F: package/python-tzlocal/
|
||||
F: package/python-sdbus-modemmanager/
|
||||
F: package/python-waitress/
|
||||
F: package/python-whitenoise/
|
||||
F: support/testing/tests/package/test_python_apscheduler.py
|
||||
F: support/testing/tests/package/test_python_crc.py
|
||||
F: support/testing/tests/package/test_python_django.py
|
||||
@@ -2290,6 +2291,7 @@ F: support/testing/tests/package/test_python_ruamel_yaml.py
|
||||
F: support/testing/tests/package/test_python_sdbus_modemmanager.py
|
||||
F: support/testing/tests/package/test_python_tzlocal.py
|
||||
F: support/testing/tests/package/test_python_waitress.py
|
||||
F: support/testing/tests/package/test_python_whitenoise.py
|
||||
F: support/testing/tests/package/sample_python_apscheduler.py
|
||||
F: support/testing/tests/package/sample_python_crc.py
|
||||
F: support/testing/tests/package/sample_python_django.py
|
||||
|
||||
Reference in New Issue
Block a user