Code from : http://gillesfabio.com/blog/2010/07/22/creer-un-blog-avec-django-1-2/
