38 - Django pre save & post save signals - Python & Django 3.2 Tutorial Series

preview_player
Показать описание
38 - Django pre save & post save signals - Python & Django 3.2 Tutorial Series

Try Django 3.2 is a series to teach you the fundamentals of creating web applications with Python & Django by building a real project step-by-step.

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

Merci pour ce tutoriel. j'était vraiment perdu concernant les signaux avec Django. et maintenant je pourrai avancer sur mon projet grâce à vous. merci encore.

jlyricks
Автор

you just great tutor, a ton of thank to you bro for your brilliant video lessons

alishershamuratov
Автор

At 6:11, the value of created is False, so it doesn't exec the "instance .save()" at line 38

纪佳骏
Автор

at 6:52 "this is my slug!" slug, is it a slug? I mean it does not look like a slug. Now I know we moved pass that moment and we further changed the code, but can a slug that does not have the slug-format-principles (I mean the "-" between the words) exist?

mirceaapopei
Автор

One easy dead loop is, without the "creaetd" condition in post_save(), calling the model's save() again.
If doing the slugify() at post_save() with `created` check, what will happen if the title is updated? would want the slug updated with title

MontlicTitagres
welcome to shbcf.ru