Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static files on Heroku #40

Closed
foonicorn opened this issue Jul 21, 2014 · 5 comments
Closed

Static files on Heroku #40

foonicorn opened this issue Jul 21, 2014 · 5 comments
Assignees

Comments

@foonicorn
Copy link
Contributor

Setting DEBUG = False breaks static files on Heroku. The simple solution would be to switch DEBUG on again but that's not the best solution in terms of security...

@syphar
Copy link

syphar commented Jul 22, 2014

Are you sure?

DEBUG = False was totally fine in our cases. That's why

  • we added the heroku-toolbelt
  • we changed wsgi.py to include Cling

Assuming collectstatic is fine, static files were served in our cases.

@keimlink
Copy link
Contributor

DEBUG = False also worked for the two members of my team that deployed to Heroku.

@jezdez
Copy link
Contributor

jezdez commented Jul 24, 2014

Hm, so is this just a red herring of a missing Cling line?

@EdgyEdgemond
Copy link

New changes to use whitenoise fix the issue with static files when DEBUG = False

@oinopion
Copy link
Contributor

Fixed by @BluesFiend .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants