MSTC-DA-IICT / Hacktoberfest24-Library-Management-System-Django

This repository is made for the purpose of Hacktoberfest-2024
2 stars 5 forks source link

Add Relationships Between Models #3

Open Priyanshi89 opened 1 month ago

Priyanshi89 commented 1 month ago

Set up Foreign Key relationships between the Book and Author models.

AyushKhatri-Dev commented 1 month ago

Hello,

I would like to work on this issue. I have already set up Foreign Key relationships between the Book and Author models in my previous work. Here is a summary of what I have done:

Book and Author: Each book is linked to a specific author using a ForeignKey. This ensures that if an author is deleted, all associated books are also removed (on_delete=models.CASCADE). Book and Genre: Similarly, each book is linked to a genre for categorization. Since I have already implemented this, I believe I can resolve this issue quickly. Kindly assign this to me.

Thank you!

Kirtan24 commented 4 weeks ago

Hey @Priyanshi89 , Can you please assign this to me?

Kirtan24 commented 3 weeks ago

Hey @Priyanshi89 , Can you please merge my PR.