summaryrefslogtreecommitdiff
path: root/tutorial_5_django_templates/slides.md
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial_5_django_templates/slides.md')
-rw-r--r--tutorial_5_django_templates/slides.md10
1 files changed, 0 insertions, 10 deletions
diff --git a/tutorial_5_django_templates/slides.md b/tutorial_5_django_templates/slides.md
index 76c4978..1b36878 100644
--- a/tutorial_5_django_templates/slides.md
+++ b/tutorial_5_django_templates/slides.md
@@ -70,16 +70,6 @@ In this directory create an *blogs.html* file and add the below code
</body>
</html>
- {% if articles %}
- <ul>
- {% for article in articles %}
- <li>{{ article.title }} | Blog: {{ article.blog.name}}</li>
- {% endfor %}
- </ul>
- {% else %}
- <p>No Blog articles are available.</p>
- {% endif %}
-
- We created a django template using an HTML file
- The Django templates give the user limited programming logic capabilities like variables, if-else & for loops