Thanks for putting this together. You've made it super simple for me to understand how to customize the Save method... something I wasn't too clear on. Thanks!!!
Man thank you. I'm relatively new to Django and don't really know the extent of what it has to offer. This was exactly what I was looking for without realizing it beforehand.
I bought Anthony's course and I must say.... it's amazing! Just like RUclips... always nice and clear content! I'll share your channel with everyone I know :-)
hi man, very very useful, now is there a way to have the data before saving the object? i am struggling with this for 3 days on a row and cant find any answer =(
Hi! I am using modelformset_factory and trying to save data on different data base like form.save(using=“abc”) This work fine with form but when using with modelformset shows an error that un aspected argument “using” How to solve please
can you show me how to save automatically set the save method for this: Classroom model - Chapter model - classroom(foreignkey) Lesson model - chapter(foreignkey) 4 different file models (video, audio, image, pdf ...) which all have foreign key from Lesson. Now I want to automatically set the default Lesson of the file model where I am currently in... rather than manually manuevering it in fill-up forms and/or admin site. Pls help
You make awesome tutorial please do the multi option kind of question forms that keeps spitting form for answers until there is no question or answer left. The kind found on django-quiz and django-multiple-users thanks!
Thanks for putting this together. You've made it super simple for me to understand how to customize the Save method... something I wasn't too clear on. Thanks!!!
Man thank you. I'm relatively new to Django and don't really know the extent of what it has to offer. This was exactly what I was looking for without realizing it beforehand.
I bought Anthony's course and I must say.... it's amazing! Just like RUclips... always nice and clear content! I'll share your channel with everyone I know :-)
Awesome! I'm glad you like the course!
As always Anthony giving us very good tips. Thank you!!
You're welcome! thanks for watching
Thanks for the tutorial. Can we get a value from another model to the target model?
great video, thank you
Anthony can we use a pre_save signal rather than over riding the save() in the model class .
Happy with this approach too !! Got to know something new
Thank you so much, I'm an apprentice and this is very useful at my job!
hi man, very very useful, now is there a way to have the data before saving the object? i am struggling with this for 3 days on a row and cant find any answer =(
how do you know that I'm exactly looking for this, and try to save my lat and long, that's awesome
Hi Anthony. How to hide the latitude and longitude input fields? 😊
Hi Anthony, can you please tell me how create custom create method for django model
Hello How can ı save to json to my django model ??
Hi!
I am using modelformset_factory and trying to save data on different data base like
form.save(using=“abc”)
This work fine with form but when using with modelformset shows an error that un aspected argument “using”
How to solve please
Nice. You should do one on custom save vs signals.
I'll consider making a video like that. Thanks for watching.
Hey man!!
Thanks for sharing,
But i need to update the field values from my views.py logic,
can you show me how to save automatically set the save method for this:
Classroom model -
Chapter model -
classroom(foreignkey)
Lesson model -
chapter(foreignkey)
4 different file models (video, audio, image, pdf ...) which all have foreign key from Lesson.
Now I want to automatically set the default Lesson of the file model where I am currently in... rather than manually manuevering it in fill-up forms and/or admin site. Pls help
This is perfect!
Great video. Create one on custom delete method too.
Thanks, will do!
You make awesome tutorial please do the multi option kind of question forms that keeps spitting form for answers until there is no question or answer left. The kind found on django-quiz and django-multiple-users thanks!
I'll look into making a video like that.
Awesome 👍
Thanks for watching!
Great Vid
Thanks!
awesome
Awesome
im not gay or anything like that but i must say ur voice is good