Skip to content

Commit 7273071

Browse files
change test template
1 parent 10ede64 commit 7273071

File tree

1 file changed

+11
-16
lines changed
  • tests/project/djls_app/templates/djls_app

1 file changed

+11
-16
lines changed

tests/project/djls_app/templates/djls_app/base.html

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,19 @@
66
<title>Test Page</title>
77
</head>
88
<body>
9-
<h1>Hello, {{ user.username }}!</h1>
10-
<p>This is a test template.</p>
11-
{% if items %}
12-
<ul>
13-
{% for item in items %}<li>{{ item.name }}</li>{% endfor %}
14-
</ul>
15-
{% else %}
16-
<p>No items found.</p>
17-
{% endif %}
18-
<img src="{% static 'images/logo.png' %}" alt="Logo">
19-
{# This is a comment #}
209

2110
{% block content %}
22-
{% block foo %}
23-
{% endblock bar %}
24-
25-
{% if foo %}{% endif %}
26-
{% else %}
11+
<h1>Hello, {{ user.username }}!</h1>
12+
<p>This is a test template.</p>
13+
{% if items %}
14+
<ul>
15+
{% for item in items %}<li>{{ item.name }}</li>{% endfor %}
16+
</ul>
17+
{% else %}
18+
<p>No items found.</p>
19+
{% endif %}
20+
<img src="{% static 'images/logo.png' %}" alt="Logo">
21+
{# This is a comment #}
2722
{% endblock %}
2823

2924
</body>

0 commit comments

Comments
 (0)