Python Django tutorial 12b - populating more than one model from the same form

preview_player
Показать описание
This lesson covers how to populate more than one model from the same HTML form
Рекомендации по теме
Комментарии
Автор

Incredibly helpful, particularly after all other sources made this out to be terribly complicated. Yet you showed that it can be actually very simple in function-based views. Thank you so much.

isofruitfruit
Автор

One of the simplest way of dealing with foreign key without relying to the dropdown button!

richardalcantara
Автор

Nice to hear a fellow Northerner's voice. This was very helpful, thank you.

manofqwerty
Автор

Thank you very much. This is exactly what i was looking for. I had to develop an advertising website. every add contains one or more images. Ad is a model. Image is another model. Both of them must be created from one form. I got what i was looking for. Much appreciated.

TimePasser
Автор

Nice tutorial Mike. Good to see another Python video from you.

juyst-it-services
Автор

Awesome! Thanx, Mike. So happy to see you doing some tutorials (again)!!

Colstonewall
Автор

Simple and neat tutorial. Love the clarity of presentation. Keep the good work, Mike! :)

raphaelamponsah
Автор

Thanks to your video, I could corrected my project and learned something new. Thank you Mike.

MrKatdar
Автор

I think you could have thought of a better example than a forum page. For example, think of medical bills. Bills have a header with medical provider name, address, dates, etc. Then you have individual bill lines for medical procedures or diagnoses. This like this pop up everywhere.

Johnnyboycurtis
Автор

Thank you for this tutorial. It very clear .

hakania
Автор

How to do the same in class base views?

papan
Автор

How can implement multiple models in one view with one to one relationship and shared model
Example:
I wants to make reports (daily, weekly and monthly)
All reports must have a project to report about, and must have two extra models (staff workers and (machines cars and
So I can’t figure the relationship
Please help.

AhmedTheCoder
Автор

i want to add content multiple times to a single thread what i have to do replay me please

vallimahendharkar
Автор

hi Mike, thanks for this tutorial: i get this error when it comes with updating CSRF


Django Version: 3.1.2
Exception Type: NameError
Exception Value:
name 'csrf' is not defined


Cheers
Reza

rezasadeghi
visit shbcf.ru