Django has been able to run on Heroku for a while now. This topic keeps coming up over and over again and it is very old news. There are a lot of major flaws in running Django on Heroku right now too simply because of how their system works.
Python and Django on Heroku
71–75 of 75 posts
Re: Python and Django on Heroku
#72Earlier quoted context omitted.
Definitely this. A database is a requirement for a Django app, but not for Flask. I always seem to go back and forth about whether to start a micro-framework like Flask and use plugins and Python libs to assembly a framework that has only what I need, or use Django and (possible) include a lot of code that will never get run.
A database is not required fr Django.
Re: Python and Django on Heroku
#73As much as I've come to enjoy and appreciate the various start-ups whose mantra was "We're Heroku with Python/Django capabilities", it will be interesting to see which of those survive the next 8-12 months now that Heroku officially supports that stack. It'd be a shame to see ep.io and Gondor go the way of the dodo bird, but what sets them apart now?
Epio cofounder here - we're not worried by this, and we've known it was coming for ages now. The hosting market is plenty big enough for more than one player - we're expanding to multiple languages, much like Heroku expanded from Ruby, which provides an ample feeding ground of old-style hosts to slowly steal business from - and there's also still a lot of room for innovation. Heroku, as much as I like their product -…
Re: Python and Django on Heroku
#74Earlier quoted context omitted.
I've been running multi file apps since before 0.7. If you read the documentation or searched mailing lists or looked at example applications you can see how. Blueprints made it even better. 2. In the documentation you will find that you can list out routes just like django. http://flask.pocoo.org/docs/api/#flask.Flask.add_url_rule
I've read through all the documentation, and researched extensively. I still ran into problems way too often to ever warrant using it over a full framework for larger projects.
Either way, I'm glad we have selection and choice. At least we both like python! Peace
Re: Python and Django on Heroku
#75$ ls app.py,requirements.txt,Procfile $ git init $ git add . $ git commit -m "Init" $ heroku create --stack cedar $ git push heroku master With that Heroku becomes the Heroku for Django.