django: Start adding a simple example of a django app

This commit only adds auto-generated code, so there's no manual
intervention here.
django: Create app "blog"

As in the previous commit this code has been automatically generated.
django: Add the first model
django: Register `BlogPost` so that it appers in the admin screen
django: Display blog posts title and timestamp

This way, we won't see entries such as "BlogPost object".
django: Add first dummy view

This view only creates a fake post and displays it, but at least we can now
get a grasp at how the app is structured: Models, Views and Templates.
django: Make use of strings instead of importing the views

Django supports strings so that you don't even need that import.
django: Give to the template all objects from database
django: Change DB query so that it orders posts by timestamp
django: Specify the ordering in the model

If we set our preferred ordering in the model, any other Django-based app
or project that accesses our data will use that ordering.
django: Add a simple form to add blog posts
django: Add CSRF token to the HTMl form

Django comes with a data-preserving feature that disallows POSTs which are
not secure against cross-site request forgery (CSRF) attacks.

References:
http://docs.djangoproject.com/en/dev/intro/tutorial04/#write-a-simple-form
http://docs.djangoproject.com/en/dev/ref/contrib/csrf/
django: Use django's Forms to generate our HTML

This way, we avoid duplication because we were specifying the fields in
both the HTML and the Python codes.

We still have duplication, but at least now it's only on one of the two
sides.
django: Use ModelForm instead of Form to avoid code duplication

Note that we need to:
1) Exclude the timestamp from the form
2) Set the timestamp in the view `create_blogpost`
django: Use generic view for redirection

Generic views are often-reused views that are fairly basic but that we
still wouldn’t want to create or re-create each time we needed the same
functionality. Examples include directing users to static pages, providing
a generic output for objects, etc.
django: Improve look & feel using template inheritance
django: Add unit tests
Merge branch 'django-example'