Add views count
This commit is contained in:
parent
e19776aae3
commit
dee6dcef3b
4 changed files with 29 additions and 10 deletions
|
@ -14,7 +14,8 @@
|
|||
<!-- Content -->
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ photo.slug }}</h1>
|
||||
<h1>{{ photo.slug }}</h1>
|
||||
<p> Views: {{ photo.views }}</p>
|
||||
<img src="{{ photo.photo.url }}" alt="{{ photo.slug }}" class="height='100%'" />
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue