{% extends "base.html" %} {% block content %} <h2>Список заметок</h2> <ul> {% for note in object_list %} <li> {{ note.id }}: <a href="{% url 'notes:detail' note.slug %}"> {{ note.title }}</a> </li> {% endfor %} </ul> {% endblock content %}