ara/ara
David Moreau Simard 3b6b291967
Use whitenoise for serving static files
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
2019-03-07 15:39:13 -05:00
..
api Merge "Add missing relationship from result to play" into feature/1.0 2019-03-06 19:21:20 +00:00
clients Import integration tests and jobs from ara-infra 2019-03-04 13:17:52 -05:00
plugins Rely on the API server for the get_or_create methods 2019-03-05 17:00:21 -05:00
server Use whitenoise for serving static files 2019-03-07 15:39:13 -05:00