- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Django Template For Tag (සිංහල) | Loop Through Data
Full Courses: https://nayananimsara.online/
Hosting Services: https://nanoshellnet.com
මෙම video එකෙන් ඔබට Django templates වල for loop tag ({% for %}) use කරලා dynamic data loop කිරීම සහ multiple items render කරන හැටි step-by-step explain කරනවා.
List, querysets, arrays වල data template එකේ repeat display කරන process practice කරලා 🚀
🎯 What You Will Learn
✔ {% for item in list %} syntax
✔ Display multiple items in templates
✔ Access loop variables (forloop.counter)
✔ Nested loops concept
✔ Real-world examples: product lists, blog posts, user lists
⚡ Key Points
✔ {% for %} ... {% endfor %} → Looping in templates
✔ {{ forloop.counter }} → Current loop index (1-based)
✔ {% empty %} → Optional: handle empty lists
✔ Loop through any iterable: list, queryset, dictionary keys
🧠 Why This Lesson is Important?
✔ Real-world scenarios: display multiple items dynamically
✔ Templates dynamic rendering strengthen කරන්න
✔ Combined with if/else, more interactive pages create කරන්න
✔ Next lesson: Combining Loops + If Statements
Видео Django Template For Tag (සිංහල) | Loop Through Data канала NIMA ACADEMY
Hosting Services: https://nanoshellnet.com
මෙම video එකෙන් ඔබට Django templates වල for loop tag ({% for %}) use කරලා dynamic data loop කිරීම සහ multiple items render කරන හැටි step-by-step explain කරනවා.
List, querysets, arrays වල data template එකේ repeat display කරන process practice කරලා 🚀
🎯 What You Will Learn
✔ {% for item in list %} syntax
✔ Display multiple items in templates
✔ Access loop variables (forloop.counter)
✔ Nested loops concept
✔ Real-world examples: product lists, blog posts, user lists
⚡ Key Points
✔ {% for %} ... {% endfor %} → Looping in templates
✔ {{ forloop.counter }} → Current loop index (1-based)
✔ {% empty %} → Optional: handle empty lists
✔ Loop through any iterable: list, queryset, dictionary keys
🧠 Why This Lesson is Important?
✔ Real-world scenarios: display multiple items dynamically
✔ Templates dynamic rendering strengthen කරන්න
✔ Combined with if/else, more interactive pages create කරන්න
✔ Next lesson: Combining Loops + If Statements
Видео Django Template For Tag (සිංහල) | Loop Through Data канала NIMA ACADEMY
Комментарии отсутствуют
Информация о видео
1 апреля 2026 г. 17:31:08
00:09:37
Другие видео канала





















