Skip to content

Commit

Permalink
[Fix] Add django whitenoise to requirements file and update wsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
Issa Jubril committed Jan 14, 2016
1 parent a10931c commit 3104410
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 3 additions & 5 deletions djangogram/djangogram/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
import os

from django.core.wsgi import get_wsgi_application
from dj_static import Cling
from whitenoise.django import DjangoWhiteNoise

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangogram.settings")

# application = get_wsgi_application()


application = Cling(get_wsgi_application())
application = get_wsgi_application()
application = DjangoWhiteNoise(application)
2 changes: 1 addition & 1 deletion djangogram/photoeditor/templates/photoeditor/canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
</div>
{% endfor %}
{% endif %}



</div>
Expand Down
5 changes: 5 additions & 0 deletions djangogram/static/css/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 3104410

Please sign in to comment.