mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 13:04:05 +03:00
reference docs to more info about dj-static
This commit is contained in:
parent
9dc2de4301
commit
31e7456cbc
|
@ -26,6 +26,9 @@ os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
|
||||||
# file. This includes Django's development server, if the WSGI_APPLICATION
|
# file. This includes Django's development server, if the WSGI_APPLICATION
|
||||||
# setting points here.
|
# setting points here.
|
||||||
from configurations.wsgi import get_wsgi_application
|
from configurations.wsgi import get_wsgi_application
|
||||||
|
|
||||||
|
# serve static assets using wsgi
|
||||||
|
# https://devcenter.heroku.com/articles/django-assets
|
||||||
from dj_static import Cling
|
from dj_static import Cling
|
||||||
|
|
||||||
application = Cling(get_wsgi_application())
|
application = Cling(get_wsgi_application())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user