{% extends 'silk/base/base.html' %} {% load silk_assets %} {% load silk_filters %} {% block pagetitle %}Silky - Settings{% endblock %} {% block js %} {% endblock %} {% block data %}
Preferences are saved in this browser. Recording options come from your project's settings.py.
{{ r.key }}{% if not forloop.last %}, {% endif %}{% endfor %}. ReviewWhere “Open in editor” and traceback links go.
Running Django in Docker or a VM? Map the path in recorded tracebacks to your local checkout.
Example: {{ sample_frame.file }}:{{ sample_frame.line }} opens
What Silky colours amber and red, what the Slow filter on Requests means, and how often a query must repeat to count as N+1. Saved as cookies so the server can use them.
Read from settings.py. Change them there and restart the server.
{{ c.key }}{{ c.value }}
{% if c.changed %}default {{ c.default }}{% else %}default{% endif %}
{% if c.risk %}{% if retention.mode == 'count' %}Keeps the newest {{ retention.max_requests }} requests. {% elif retention.mode == 'time' %}Keeps {% if retention.max_time_label %}the last {{ retention.max_time_label }}{% else %}everything: no time window is set{% endif %}. {% else %}Keeps at most {{ retention.max_requests }} requests{% if retention.max_time_label %}, none older than {{ retention.max_time_label }}{% endif %}.{% endif %}
{% if recommended %} {% endif %}