Тёмный

How to create async Django forms in 2 minutes (with Alpine.js) ⛰️ 

Tom Dekan
Подписаться 1,8 тыс.
Просмотров 3,3 тыс.
50% 1

Hi fellow Djangoers 🐎
Here's a video showing you how to add async forms to a Django templates (no page reload) in 2 minutes. The guide uses Alpine.js to add minimal, neat javascript. 🏔️
Here's my blog post, containing the code:
www.photondesigner.com/articl...

Хобби

Опубликовано:

 

27 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@tochimclaren
@tochimclaren 3 месяца назад
Why is the view port jumping around with the mouse makes me dizzy.
@tomdekan
@tomdekan 3 месяца назад
Yeah - thanks Tochim. Lots of people have mentioned this. I’ve changed this for all my other videos
@luizetulio4888
@luizetulio4888 10 месяцев назад
Hi Tom, nice video. Would you prefer alpine over HTMX for creating forms in Django, is there any significant difference in terms of flexibility and performance?
@tomdekan
@tomdekan 10 месяцев назад
Thanks @luizetulio4888 ☺️ On your question, I'd use Alpine for the form if it was particularly complex, involving many fields that depended on each other. HTMX would apply well most of the time, and HTMX is faster to start and easier to test than Alpine. There's no difference in performance, but Alpine is more flexible. I did a video on creating a form with HTMX (in 90 seconds this time): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-z67XaHvYexY.html In short, I'd recommend trying HTMX first.
@frameff9073
@frameff9073 11 месяцев назад
thank
@tomdekan
@tomdekan 11 месяцев назад
You're welcome!
@ahealthyfoodtip
@ahealthyfoodtip Месяц назад
You think Django still worth to learn?
@tomdekan
@tomdekan Месяц назад
Yes, though it always depends on what you want to do. What do you want to do?
@ahealthyfoodtip
@ahealthyfoodtip Месяц назад
@@tomdekan I want to use for small business they can have live data with charts and maybe ML models for inventory, plus integrate Google ads and Facebook ads.
@tomdekan
@tomdekan Месяц назад
Got it. Then yes - Django will be great for your use!
@mr_don_key
@mr_don_key 2 месяца назад
getting a bit dizzy with all that panning of the half zoomed in screen
@tomdekan
@tomdekan 2 месяца назад
Yeah - thanks for the feedback. Many others have said that as well. I’ve slowed down all my other videos 🙂
Далее
HTMX & Go with ThePrimeagen | Preview
15:58
Просмотров 149 тыс.
Django and Alpine.js - Introduction to Alpine.js
20:26
Django async HTTP requests with asyncio and aiohttp
20:32
Async Django - presented by Ivaylo Donchev
30:47
Просмотров 6 тыс.
Python Django Forms tutorial
26:54
Просмотров 6 тыс.
Django Dynamic Forms Tutorial with Htmx
48:27
Просмотров 66 тыс.
Вот так 🤣
0:35
Просмотров 1,6 млн
Покатал Дашку #сочи
1:00
Просмотров 2,4 млн
What it feels like cleaning up after a toddler.
0:40