Skip to content

Static files on Heroku #40

Closed
Closed

Description

@foonicorn

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...

Activity

  1. syphar commented on Jul 22, 2014

    @syphar

    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.

  2. keimlink commented on Jul 24, 2014

    @keimlink
    Contributor

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

  3. jezdez commented on Jul 24, 2014

    @jezdez
    Contributor

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

  4. EdgyEdgemond commented on Jul 26, 2014

    @EdgyEdgemond

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

  5. oinopion commented on Jul 26, 2014

    @oinopion
    Contributor

    Fixed by @BluesFiend .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions