Django Templates Tutorial For Beginners (2018)

preview_player
Показать описание
In this video you will learn how to use templates to render HTML to the user.

7 Tips For Getting Better At Django:

You will learn how to use the render function, which is a handy shortcut to return an HttpResponse to our user with our rendered template.

Afterwards, you will learn how to print out variables in the template, use if-else constructs, for-loops, the url tag for getting urls from a path name and template filters.

Finally, we wrap things up by showing you how to include static files (such as css) into your template.

Github repository for this series:

If you enjoyed this video, make sure to subscribe and share it with anyone you think could enjoy it as well.

I hope to see you inside of the next episode.

Cheers.
Рекомендации по теме
Комментарии
Автор

I didnt know what Templates were before... but now I do! thank you!!

Jr-xshy
Автор

Thanks for this series, I'm learning (even loving Django!) a lot!

P.S: If you accept requests, do Django REST Framework and/or automatization with Celery next

Skaxarrat
Автор

What we did in curly braces...? Did we used Python or HTML have a for loop itself...?

vedxgaming
Автор

my template is not working: TemplateDoesNotExist at / please help me

hirakganguly
Автор

Why you always you use sniffet? Can't you use other words bro that resounds to real project? Just asking why you always use sniffet.

patrickknows
join shbcf.ru