From 31e7456cbc7082f8d7c4b6a2e705cb140f876e3d Mon Sep 17 00:00:00 2001 From: Nate Aune Date: Fri, 27 Sep 2013 11:01:17 -0400 Subject: [PATCH] reference docs to more info about dj-static --- .../{{cookiecutter.repo_name}}/config/wsgi.py | 3 +++ 1 file changed, 3 insertions(+) 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())