{% extends "pylucid/css_anchor_div.html" %} {% block plugin_content %} {% extrahead %} {% endextrahead %} {% if user.is_staff and debug %}

Request/response debug info

Data are {% if from_cache %}from cache{% else %}not from cache{% endif %}
server response time: {{ duration|floatformat:3 }}sec.
url: {{ url }}
cache_time: {{ cache_time }}
timeout: {{ timeout }}
request_header:
{{ request_header }}
response_info:
{{ response_info }}
{% if not data %}

debug raw content

{{ raw_content }}
{% else %}

debug parsed flickr json data

{{ data|pprint }}
{% endif %} {% else %} {% endif %} {% endblock %}