Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Use dj-static for static files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Aug 13, 2014
1 parent e859f5f commit fb56a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
from dj_static import Cling

application = Cling(get_wsgi_application())

# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ django-redis-cache==0.11.1
django-redis-sessions==0.4.0
django-s3-folder-storage==0.2
django-secure==1.0
dj-static==0.0.5
django-storages==1.1.8
gunicorn==18.0
hiredis==0.1.3
Expand Down

0 comments on commit fb56a66

Please sign in to comment.