This might be a silly question, but I thought I'd ask before I continue doing anything.
Assume I have two models: the first, some User
model, and the second an ImgUpload
model which captures the username automatically as the form is submitted and stores it in the database.
If I end up updating a username (let's say User1 -> User2) or any other field from the User
model, will the ImgUpload
model automatically capture this change or do I need some sort of way to handle this?
CodePudding user response:
Django is perfectly capable of doing that for you so no worries.