{% extends "silk/base/detail_base.html" %} {% load silk_filters %} {% load silk_nav %} {% load silk_inclusion %} {% load staticfiles %} {% block js %} {{ block.super }} {% endblock %} {% block style %} {{ block.super }} {% endblock %} {% block menu %} {% profile_menu request profile silk_request %} {% endblock %} {% block data %}
{% profile_summary profile %}
{% if profile.file_path and profile.line_num %} {{ profile.file_path }}:{{ profile.line_num }}{% if profile.end_line_num %}:{{ profile.end_line_num }}{% endif %} {% else %} Location {% endif %}
The below shows where in your code this profile was defined. If your profile was defined dynamically (i.e in your settings.py), then this will show the range of lines that are covered by the profiling.
{% if code %}
{% code code actual_line %}
{% elif code_error %}
{{ code_error }}
{% endif %}
{% endblock %}