Djenesis / contributr

An online tool for programmers to find projects they can contribute to and project maintainers to find contributors.
MIT License
16 stars 16 forks source link

use whitenoise to serve static files in production #88

Closed SanketDG closed 8 years ago

SanketDG commented 8 years ago

django itself doesnt allow static file serving, so whitenoise is used. whitenoise is only run during production in settings.production and wsgi.py.

whitenoise can be tested in production by : python manage.py collectstatic --dry-run --noinput

The old way of using Cling() and dj_static is removed.

whitenoise is added to production requirements and dj_static is removed.

requirements are updated.