/example_app/templates/story_detail.html
https://bitbucket.org/neithere/django-view-shortcuts/ · HTML · 10 lines · 8 code · 2 blank · 0 comment · 0 complexity · 55aff710f55edcadf37a065c7acd6dfb MD5 · raw file
- <h1>{{ object.title }}</h1>
- <dl>
- <dt>Author</dt>
- <dd>{{ object.author }}</dd>
- <dt>Categories</dt>
- <dd>{{ object.category.all }}</dd>
- </dl>
- {{ object.text }}