{%comment%} Create a new notebook {% csrf_token %} {{ form.non_field_errors }} {% for field in form %} {{field.label_tag}} {{field}} {% if field.errors %}{{field.errors}}{% endif %} {% endfor %} {%endcomment%} {{object}} {% for obj in object.note_set.all %} {{obj.title}} {{obj.body_text|truncatewords:36}} {% endfor %}