Reputation: 219
I am trying to deploy django project to heroku. When I have debug as False my static files won't work. If I deploy debug = True in my settings page, the static files work. Any thoughts?
Upvotes: 1
Views: 246
Reputation: 174642
For production (that is, DEBUG = False
), you need to use the dj-static
library as detailed in the official documentation on heroku
Upvotes: 1