code snippet from django girls tutorial