{% load static %} {% block title %}Django School{% endblock %} {% if user.is_authenticated and user.is_teacher %} {% else %} {% endif %} Fork me on GitHub
{% if user.is_authenticated %}

Logged in as {{ user.username }}. Log out.

{% else %} Log in Sign up {% endif %}
{% for message in messages %} {% endfor %} {% block content %} {% endblock %}