cleanup, better admin

This commit is contained in:
j 2021-10-11 13:55:45 +01:00
commit b8f1c52613
15 changed files with 124 additions and 24 deletions

View file

@ -3,7 +3,7 @@
<div class="films">
{% for film in films %}
<div class="film">
<h1><a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a></h1>
<h1><a href="{{ film.get_absolute_url }}">{{ film.data.title | safe }}</a></h1>
<h2>{{ film.data.director|join:", "|safe }}</h2>
</div>
{% endfor %}

View file

@ -4,7 +4,8 @@
<div class="texts">
{% for text in texts %}
<div class="text">
<a href="{{ text.get_absolute_url }}">{{ text.title }}</a>
<h1><a href="{{ text.get_absolute_url }}">{{ text.title | safe }}</a></h1>
<h2>{{ text.byline|safe }}</h2>
</div>
{% endfor %}
{% endblock %}