blob: 1e497a55e0c61f3d1ca6916263a6b3c4b400311a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{% extends "base.html" %}
{% block title %}Hello Codemash{% endblock %}
{% block content %}
<h1>Hello Codemash</h1>
<ul>
<li><a href="{% url 'contact:form' %}">Contact Us</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'auth:logout' %}">Logout ({{ user.username }})</a></li>
{% else %}
<li><a href="{% url 'auth:login' %}">Login</a></li>
{% endif %}
</ul>
<p>You've just created your first Django page. Pretty cool, eh?</p>
{% endblock %}
|