/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

  1. <h1>{{ object.title }}</h1>
  2. <dl>
  3. <dt>Author</dt>
  4. <dd>{{ object.author }}</dd>
  5. <dt>Categories</dt>
  6. <dd>{{ object.category.all }}</dd>
  7. </dl>
  8. {{ object.text }}