Hi,
The idea for a separate model for author with a foreign key back to book is
interesting. I hadn't thought of that. Thanks for the ideas about how to
approach this problem.
On Sat, Oct 13, 2018 at 12:10 PM Ryan Nowakowski
wrote:
> I've done something similar in the past but I use a
I've done something similar in the past but I use a separate model for author
that has a foreign key back to book. You can limit the number of authors to 3
in the author save method.
Then you can use an inline form for author in the admin. That will give you the
+ functionality you're looking
Hi,
I'm still a bit new to django, but making slow progress.
I'm wondering how to move forward with a book class as model which has an
author field which
allows adding additional authors.
I have three fields allocated in the SQLite db for up to three different
authors.
What I'm trying to do
3 matches
Mail list logo