Hosting Your Django App on Heroku

Heroku is a fantastic service that lets you get your app on the web quickly, for free (with the base model). If you followed my previous post Django, A Framework for Python Web Apps, then you already have most of the tools you need to publish your work on the web for demoing and testing purposes. The final step is hosting your project on Heroku. Publishing an update to Heroku is as easy as a git remote push (in fact, that’s all there is to it!...

February 21, 2016

More Nuts and Bolts of a Django App

In Django Hello World! we verified the Python installation, got Django installed, and output ‘Hello World!’ from the Python shell. Next up: running a Django web page on a local server! Primary Django Web Page Components urls.py views.py models.py template.html settings.py URLs and Views At a minimum, we need to configure these two elements. The urls.py file contains the information Django needs to determine which view to process, while the views....

February 14, 2016

Django, A Framework for Python Web Apps

This tutorial is intended as a quick setup guide, designed to get you started as quickly as possible. I’ve found the best way to learn is to jump in and get your hands dirty. Then when you read the documentation, there’s context behind it, and it sticks a little better. While I’ll include basic explanations in this post, you should definitely read through the Django tutorials if you’re interested in learning more about the individual commands and design elements....

February 13, 2016