Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 62b999a7fe
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.628 kB
<!DOCTYPE html>
<h1>Example app</h1>
{% load url from future %}
{% for talk in talks %}
{% if forloop.first %}
<h2>{{ talks_count }} talks</h2>
{% endif %}
<p><strong>{{ talk.topic }}</strong>
&ndash; {{ talk.when|date:"j F Y" }}<br>
Duration: {{ talk.duration }}h<br>
Tags: {{ talk.tags|join:", " }}<br>
<a href="{% url 'delete_talk' %}">delete</a>
{% empty %}
<p><em>No talks added yet</em></p>
{% endfor %}
<form action="." method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="+ Add talk">
Jump to Line
Something went wrong with that request. Please try again.