code results from django_tutorial v1.5