summaryrefslogtreecommitdiff
path: root/tutorial_5_django_templates
diff options
context:
space:
mode:
authorprathamesh2018-03-22 10:24:37 +0530
committerprathamesh2018-03-22 10:24:37 +0530
commitada3a7315e182474e365b23438713fb290af7c97 (patch)
tree8cd0dbff4681ed75372d34cbeba1732a44312ee3 /tutorial_5_django_templates
parent4f1c1835d5607edf9c9a7118130eb476e2732bff (diff)
downloadlearn_django-ada3a7315e182474e365b23438713fb290af7c97.tar.gz
learn_django-ada3a7315e182474e365b23438713fb290af7c97.tar.bz2
learn_django-ada3a7315e182474e365b23438713fb290af7c97.zip
Add time to the script
Diffstat (limited to 'tutorial_5_django_templates')
-rw-r--r--tutorial_5_django_templates/slides.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/tutorial_5_django_templates/slides.md b/tutorial_5_django_templates/slides.md
index 305d5be..4a149f6 100644
--- a/tutorial_5_django_templates/slides.md
+++ b/tutorial_5_django_templates/slides.md
@@ -1,6 +1,6 @@
Tutorial: Create html template in django
===========================================
-[Demonstration time: 10 mins 50 s (0.85 ~ 85%) | Total time: 12 mins 42 s]
+[Demonstration time: 7 mins (0.805 ~ 81%) | Total time: 8 mins 42 s]
Slide 1 [00:08 | 00:08]
------------
@@ -32,7 +32,7 @@ In order to follow this tutorial, you need to know;
- how to create views in django
- If not, see the relevant django tutorial on http://spoken-tutorial.org
-Slide 5 [00:18 |]
+Slide 5 [00:18 | 01:00]
------------
**What is a Django Template**
- We have hardcoded the output in the view
@@ -41,7 +41,7 @@ Slide 5 [00:18 |]
- Template HTML files contain Django template tags that act like variables
- Django replaces these tags in the HTML file with dynamic data obtained from views
- Demonstration [03:00 | ]
+ Demonstration [04:00 | 05:00]
----------------
**How to create a template**
@@ -85,7 +85,7 @@ This is a for loop
- variables and objects are represented as {{ my_variable }}
- *Narrator's note* We will discuss more about Django templating later in the series
-Demonstration [01:00 | ]
+Demonstration [03:00 | 08:00]
----------------
Now let's modify the blog/views.py as follows
@@ -106,5 +106,5 @@ Now let's modify the blog/views.py as follows
*** With this we come to the end of the tutorial***
----------------------------------------------------
- *** Add concluding slides and assignment***[00:42 | ]
+ *** Add concluding slides and assignment***[00:42 | 08:42]
-------------------------------------------