We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
admin/base_site.html
1 parent 3ccdb34 commit f3ceedfCopy full SHA for f3ceedf
styleguide_example/templates/admin/base_site.html
@@ -2,7 +2,10 @@
2
3
{% block userlinks %}
4
{% if user.is_active and user.is_staff %}
5
- <a href="{% url "admin:setup-2fa" %}"> Setup 2FA </a> /
+ {% comment %}
6
+ You'll need the custom admin app loaded, otherwise you'll get an error.
7
+ <a href="{% url "admin:setup-2fa" %}"> Setup 2FA </a> /
8
+ {% endcomment %}
9
{% endif %}
10
11
{{ block.super }}
0 commit comments