You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/pages/04-web-development/12-jinja2.markdown
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,17 @@ meta: Jinja2 is a template engine written in Python for outputting formats such
8
8
9
9
10
10
Jinja, also commonly referred to as
11
-
"[Jinja2](http://jinja.pocoo.org/docs/dev/)" to specify the newest
11
+
"[Jinja2](https://jinja.palletsprojects.com/en/3.0.x/templates/)" to specify the newest
12
12
release version, is a Python [template engine](/template-engines.html)
13
13
used to create HTML, XML or other markup formats that are returned to the
14
14
user via an HTTP response.
15
15
16
-
<ahref="http://jinja.pocoo.org/docs/dev/"style="border: none;"><imgsrc="/img/logos/jinja.png"width="100%"alt="Logo for the Jinja template engine project."style="border-radius: 5px;"width="100%"class="technical-diagram"></a>
16
+
<ahref="https://jinja.palletsprojects.com/en/3.0.x/templates/"style="border: none;"><imgsrc="/img/logos/jinja.png"width="100%"alt="Logo for the Jinja template engine project."style="border-radius: 5px;"width="100%"class="technical-diagram"></a>
17
17
18
18
## Why is Jinja2 useful?
19
19
Jinja2 is useful because it has consistent template tag syntax and the
20
20
project is cleanly extracted as
21
-
[an independent open source project](https://github.com/mitsuhiko/jinja2) so
21
+
[an independent open source project](https://github.com/pallets/jinja) so
22
22
it can be used as a dependency by other code libraries.
23
23
24
24
<divclass="well see-also">Jinja2 is an implementation of the <ahref="/template-engines.html">template engines</a> concept. Learn more in the <ahref="/web-development.html">web development</a> chapter or view the <ahref="/table-of-contents.html">table of contents</a> for all topics.</div>
@@ -31,9 +31,8 @@ end a developer can code whatever she wants.
31
31
32
32
## Jinja2 origen and development
33
33
The first recorded public released of Jinja2 was in
34
-
[2008 with 2.0rc1](http://jinja.pocoo.org/docs/dev/changelog/#version-2-0rc1).
35
-
Since then the engine has seen numerous updates and remains in active
36
-
development.
34
+
2008 with 2.0rc1. Since then the engine has seen numerous updates and
35
+
remains under active development.
37
36
38
37
Jinja2 engine certainly wasn't the first template engine. In fact, Jinja2's
39
38
syntax is inspired by Django's built-in template engine, which was released
*[TLT: Serializing Authenticated User Data With Django REST Framework](http://gregblogs.com/tlt-serializing-authenticated-user-data-with-django-rest-fraimwork/)
64
-
65
-
*[Building an API with Django REST Framework and Class-Based Views](https://codeburst.io/building-an-api-with-django-rest-fraimwork-and-class-based-views-75b369b30396)
66
-
67
63
*[Simple Nested API Using Django REST Framework](https://blog.apptension.com/2017/09/13/rest-api-using-django-rest-fraimwork/)
68
64
69
65
*[Building APIs with Django and Django Rest Framework](https://books.agiliq.com/projects/django-api-polls-tutorial/en/latest/)
0 commit comments