diff options
author | prathamesh | 2018-04-26 17:50:28 +0530 |
---|---|---|
committer | prathamesh | 2018-04-26 17:50:28 +0530 |
commit | a5cb345d1f22ab799ebb55b45484708dffbe383a (patch) | |
tree | d30f419a5a629d70ef742c0447c7242f792aefb3 | |
parent | 233ff7bb5add76328581e6b95457f9e6751d9ad1 (diff) | |
parent | 7704d491ff303c42f828df1844d57689225759f0 (diff) | |
download | learn_django-a5cb345d1f22ab799ebb55b45484708dffbe383a.tar.gz learn_django-a5cb345d1f22ab799ebb55b45484708dffbe383a.tar.bz2 learn_django-a5cb345d1f22ab799ebb55b45484708dffbe383a.zip |
Merge branch 'master' of https://github.com/FOSSEE/learn_django
Resolved
-rw-r--r-- | tutorial_5_django_templates/slides.md | 10 |
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 |