diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/wsgi.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/wsgi.py index 00135145..a68c5a70 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/wsgi.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/wsgi.py @@ -26,6 +26,9 @@ os.environ.setdefault("DJANGO_CONFIGURATION", "Local") # file. This includes Django's development server, if the WSGI_APPLICATION # setting points here. from configurations.wsgi import get_wsgi_application + +# serve static assets using wsgi +# https://devcenter.heroku.com/articles/django-assets from dj_static import Cling application = Cling(get_wsgi_application())