Good afternoon people.
.
.
I have two models: Person and Address
Address has a Person fk
I would like to register the addresses of people without the need to manually point to which person's given address will belong.
.
.
I was directed to use inlines but I hate the admin of django because if I use only the admin I will get fond and I will never have the courage to make out of the admin.
.
.
I'm also no fan of the solutions they use out there like inlines.
I do not think they look good for users.
So I thought the following:
I fill in the data of the people form and when doing the submit and the django record I enter in the url of editing the person, there I will use another html displaying the data that I recorded and a table with the addresses that the person could have.
Next to this table I would put a button that would call the address register url where the person's fk would be invisible to the user, ie I would pass the id person to be used in the address book.
.
.
And finally after recording the address I would go back to the person editing form and that address would be displayed on the table along with the person's data.
You see?
Can someone help me?