{% extends 'admin/admin.html' %} {% set title = 'Photos' %} {% set active_page = 'photos' %} {% block body %} Photos {% if photos %} {% for photo in photos %} {{ photo.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} - {{ photo.title or photo.filename }} {% endfor %} {% endif %} {% endblock %}