Skip to content

Commit 601edd7

Browse files
committed
Clarify quote nesting
1 parent 5d7851d commit 601edd7

File tree

1 file changed

+3
-3
lines changed
  • debug_toolbar_user_switcher/templates/debug_toolbar_user_switcher

1 file changed

+3
-3
lines changed

debug_toolbar_user_switcher/templates/debug_toolbar_user_switcher/panel.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h4>Recent users</h4>
1414
<ul>
1515
{% for user in users %}
1616
<li>
17-
<form method="POST" action="{% url "djdt:debug-userpanel-login" user.pk %}">
17+
<form method="POST" action="{% url 'djdt:debug-userpanel-login' user.pk %}">
1818
{% csrf_token %}
1919
{% if next %}
2020
<input type="hidden" name="next" value="{{ next }}">
@@ -27,13 +27,13 @@ <h4>Recent users</h4>
2727

2828
<h4>Login as any user</h4>
2929

30-
<form method="POST" action="{% url "djdt:debug-userpanel-login-form" %}">
30+
<form method="POST" action="{% url 'djdt:debug-userpanel-login-form' %}">
3131
{{ form.as_p }}
3232
<button type="submit">Login</button>
3333
</form>
3434

3535
<br>
3636

37-
<form method="POST" action="{% url "djdt:debug-userpanel-logout" %}">
37+
<form method="POST" action="{% url 'djdt:debug-userpanel-logout' %}">
3838
<button type="submit">Logout</button>
3939
</form>

0 commit comments

Comments
 (0)