The solution to https://docs.djangoproject.com/en/dev/intro/tutorial01/