-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (28 loc) · 990 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Django Tips and Tricks</title>
</head>
<body>
<div class="main">
<h1 style="font-weight: 700;">Django Tips and Tricks</h1>
<ul class="cards">
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="https://djangostars.com/blog/uploads/2019/04/cover-17.png"></div>
<div class="card_content">
<h2 class="card_title">Use the {% url %} tag</h2>
<p class="card_text">Essentially the <code>{% url %}</code> takes a view name and its parameters and does a
reverse lookup to return the queried URL. If
you make changes to your urls.py file, the links won't break.</p>
</div>
</div>
</li>
</ul>
</div>
<h3 class="made_by">Made with ♡</h3>
</body>
</html>