{% extends 'base.html' %} {% block title %}Watch List: {% endblock %} {% block extrascript %} {% endblock %} {% block content %}

Watch List

{% if watch_list %} {% if from_session %} {% for key, value in watch_list.items %}

{{ key|capfirst }}s

{% endfor %} {% else %} {# from DB, not session #} {% regroup watch_list by content_type as watching %} {% for w in watching %}

{{ w.grouper|capfirst }}s

{% endfor %} {% endif %} {% else %}

No watched items found

{% endif %} {% endblock %}