From 233ff7bb5add76328581e6b95457f9e6751d9ad1 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 26 Apr 2018 17:47:27 +0530 Subject: Change completely script 8 Instead of improving html templates, showed how to use static files like css and js in django. --- tutorial_5_django_templates/slides.md | 23 +++- tutorial_8_better_UI/slides.md | 195 +++++++++------------------------- 2 files changed, 71 insertions(+), 147 deletions(-) diff --git a/tutorial_5_django_templates/slides.md b/tutorial_5_django_templates/slides.md index 4a149f6..76c4978 100644 --- a/tutorial_5_django_templates/slides.md +++ b/tutorial_5_django_templates/slides.md @@ -55,6 +55,21 @@ Slide 5 [00:18 | 01:00] In this directory create an *blogs.html* file and add the below code # /blog/templates/blog/blogs.html + + + + {% if blogs %} + + {% else %} +

No Blogs are available.

+ {% endif %} + + + {% if articles %}