Web Development Using Django

Templates (2 Hours)

Need for templates
● Django convention of storing templates
● Using conditionals and looping in Django templates
● Django convention of storing the static assets like images, CSS
and JavaScript; and referencing them from the template
● Templates ‘static’ and ‘URL’ helpers
● Building master layouts and inheriting from it using ‘block’,
‘extends’
● Rendering templates from view functions using ‘render’ and passing context data to it.