3b6b291967
The usage of static files in the ARA API server is very limited. They are used for displaying the API browser from django-rest-framework and the Django admin interface. By using whitenoise, Django can serve static files through "manage.py runserver" and through the WSGI application without needing to enable debug mode or adding specific routes. This allows us to simplify the deployment a bit because we no longer need to collect static files. We're also taking this opportunity to simplify configuration a bit by no longer exposing the following configuration options: - STATIC_ROOT - STATIC_URL - MEDIA_ROOT - MEDIA_URL They'll still be loaded but there is no longer a use case for being able to change the defaults -- at least for the time being. Change-Id: I9fc853e84b3739fca574afcd2da799dc8c1fbad6
9 lines
150 B
Plaintext
9 lines
150 B
Plaintext
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
|
|
Django>=2.1.5
|
|
djangorestframework>=3.9.1
|
|
django-cors-headers
|
|
django-filter
|
|
dynaconf[yaml]
|
|
requests>=2.14.2
|
|
whitenoise |