• Home
  • Get This Code
  • Contact
  • {% if not request.user.is_authenticated and not "/accounts/login" in request.get_full_path %}
    {% csrf_token %}
    {% endif %}
  • {% if request.user.is_authenticated and user %}
  • {{ user }}
  • Logout
  • {% else %}
  • Register
  • {% endif %}