Could you please help me with the following situation:
Assume your model CollectionTitle now have 1 more field user = models.ForeignKey(User, on_delete=models.CASCADE)
Now, any user can add title and language.
When a user enters title and language and submits the form, auto-save the user field to the currently logged in user.
For example, User A created a new Collection. Now, User B and User C can add titles for this new created Collection. When user B adds a title and language, the user should be auto-saved to this entry along with the title and language.
Thanks in advance for all the support and help.
Regards,
Amey Kelekar
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Xenia,
Could you please help me with the following situation:
Assume your model CollectionTitle now have 1 more field
user = models.ForeignKey(User, on_delete=models.CASCADE)
Now, any user can add title and language.
When a user enters title and language and submits the form, auto-save the user field to the currently logged in user.
For example, User A created a new Collection. Now, User B and User C can add titles for this new created Collection. When user B adds a title and language, the user should be auto-saved to this entry along with the title and language.
Thanks in advance for all the support and help.
Regards,
Amey Kelekar