Тёмный

Django Database Transactions / atomic() function 

BugBytes
Подписаться 31 тыс.
Просмотров 6 тыс.
50% 1

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

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@bugbytes3923
@bugbytes3923 5 месяцев назад
ORM Playlist link: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EsBqIZmR2Uc.html
@andresbenitez1299
@andresbenitez1299 8 месяцев назад
This is by far, the most well explained video of Django Transactions. Thanks for your great video!
@bugbytes3923
@bugbytes3923 8 месяцев назад
Thanks a lot Andres!
@robhafemeister3100
@robhafemeister3100 Год назад
Nothing better than starting my week with a BugBytes video, great explanation of atomic transactions.
@bugbytes3923
@bugbytes3923 Год назад
Thanks a lot Rob!
@Khaled-fo7tr
@Khaled-fo7tr 2 месяца назад
Thank you, for the great explanation. 🙏
@bugbytes3923
@bugbytes3923 2 месяца назад
Thanks a lot - glad it was helpful and thank you for watching!
@muhammadtayyabtahirqureshi7186
@muhammadtayyabtahirqureshi7186 2 месяца назад
this tutorial helped me a lot to understand django database transactions. The best thing is that he has explained the topic by referring to the django documentation.
@firstandlast4435
@firstandlast4435 4 месяца назад
Can't we use lambdas in callbacks? I am not sure, but I genuinely thought that's what they are for
@rokibulhaque1673
@rokibulhaque1673 10 месяцев назад
Hi, could you please share a tutorial for bulk update using atomic !!!
@seydinaoumarsamabaly1806
@seydinaoumarsamabaly1806 Год назад
Thank you so much mate, It can't be clearer than this. I will get into the habit of working with transaction now !
@bugbytes3923
@bugbytes3923 Год назад
Thanks mate!
@Ahmed-gz7zq
@Ahmed-gz7zq 11 месяцев назад
Wow, Amazing tutorial!!, I have a question if i have a function and this is called twice at the same time for refreshing the token of the user the first request when i trying to get the user it works successfully, the second API call for this function returning NoneType Object of the this user due to the refresh token was not equal to the refreshed token at the first, If i used the atomicity in this refresh_token view it will solve the problem or what should i do?
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thank you! I'm not sure, but I think when you get the NEW refresh token for the first API call - the original refresh token becomes invalid. If you then call the refresh endpoint AGAIN with that original refresh token (instead of the new one that was issued) - you'll probably get the error or the NoneType response. You need to always pass the most recently issued token from the client. I think this is more of a client-side issue than a Django/DB issue, but again - not 100% sure.
@Ahmed-gz7zq
@Ahmed-gz7zq 11 месяцев назад
@@bugbytes3923 thank you very much sir 💕💕
@leohenrique5038
@leohenrique5038 Год назад
Hello, your videos are amazing, i am using htmx, but when i use hx-get in button, after this dont load js, how i can to fix this?
@qwee-c4r
@qwee-c4r 2 месяца назад
Increíble, gracias 🫂🙌🏻
@bugbytes3923
@bugbytes3923 2 месяца назад
Thank you!
@Yarkanlaki
@Yarkanlaki 5 месяцев назад
Finally I found how to manage num of items in stock without any risks
@frameff9073
@frameff9073 Год назад
thank
@bugbytes3923
@bugbytes3923 Год назад
Thanks for watching!
@AmoahDevLabs
@AmoahDevLabs Год назад
Nice one. Thanks for the gist.
@bugbytes3923
@bugbytes3923 Год назад
Thanks for watching!
@repotranstech9614
@repotranstech9614 Год назад
Nice one .Very important video.
@bugbytes3923
@bugbytes3923 Год назад
Thank you!
@ChristianForexTradersCommunity
please i need the link to the codebase repo on Github
@craigphollingsworth1460
@craigphollingsworth1460 11 месяцев назад
Thanks for the video. Great content as always. Finally prompted me to sort some of my code out. Any plans to do anything on async or threading/Mutliprocessing in Django? very limited guidance and docs out there on this kind of stuff. Anyway, thantks again!
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thanks! It's an interesting topic but I've not really considered a video on this yet. I'll have a think about it though - cheers for the suggestion!
@aashayamballi
@aashayamballi 11 месяцев назад
thank you!
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thanks a lot!
@wazidmalik6824
@wazidmalik6824 11 месяцев назад
Great as always .
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thanks a lot!!
@Dorso2009
@Dorso2009 11 месяцев назад
Thanks for the great video! Atomic transactions was one aspect of Django that I hadn't delved into before! Cheers!
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thanks a lot! Glad it was something new to learn!
@CristianMolina
@CristianMolina 11 месяцев назад
Very nice and deep example, thanks a lot!
@bugbytes3923
@bugbytes3923 11 месяцев назад
Thank you!
Далее
Свадьба Раяна Асланбекова ❤️
00:12
Django Transaction Atomicity
12:56
Просмотров 20 тыс.
Bulk Creation in Django | transaction atomic
10:13
Просмотров 8 тыс.
Django - F Expressions for database-level operations
20:36
Microservices with Databases can be challenging...
20:52
DuckDB and SQL - for Data Analysis and Processing
24:31