add csrftoken api route

This commit is contained in:
Bui
2020-03-17 04:03:10 +00:00
parent 96b1ba4b04
commit 841e9d37d1
2 changed files with 10 additions and 2 deletions

View File

@@ -10,7 +10,11 @@
{% for song in songs %}
<a href="/admin/songs/{{ song.id }}" class="song-link">
<div class="song">
<p>{{ song.title }}</p>
{% if song.title_lang.en %}
<p>{{ song.title_lang.en }} <small>({{ song.title }})</small></p>
{% else %}
<p>{{ song.title }}</p>
{% endif %}
</div>
</a>
{% endfor %}