heroku/heroku-buildpack-python — Issue #11: Explain required project structure better
Author: auzigog
Created: 2011-12-07 21:25:07+00:00
State: open

The heroku docs and this project's readme should explain the format better. I had to read the code to adjust my existing application.

Most of the 3rd party docuemtnation I've read captured the fact that you need requirements.txt in the root and everything else in an `appname/` subdirectory.

None of them captured that settings.py needed to be at `appname/settings.py`. Mine was in another subdirectory and was particularly hard to debug because Heroku was recognizing my app as a Python app. Took me a long time to figure out that's what was wrong.

I considered proposed another issue suggesting that the project structure be made more flexible (where your folders are, where settings.py is, where requirements.txt is), but I'll pass on that for now as long as there is some better documentation.