1 min readSep 21, 2020
Hi Chrys,
First, we're not using Django's admin application here to add authors or books. The idea here is that we want to allow client users to add/remove books using our UI, that's why I haven't added Book and Author instances in admin.py file. You can easily add them if you need to.
Second, this article provides the code for adding/removing books only since I wanted to keep the code simple. Certainly you can go one step further and implement the functionality that adds/removes authors as well, similarly like we're doing with books.
I hope that this answers your questions.
Cheers,
Fatime