Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create table project program area xref 45 #398

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

del9ra
Copy link
Member

@del9ra del9ra commented Oct 5, 2024

Fixes #45

What changes did you make?

  • Created project to program area many-to-many relationship by updating project model
  • Tested models relationship and API endpoints
  • Updated serializers in project and program area serializers

Why did you make the changes (we will use this info to test)?

  • To avoid creating the ProjectProgramAreaXref table because we didn't need any extra fields for the relationship between Project and ProgramArea
  • Using a direct ManyToManyField without the extra table makes the code simpler and more efficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PR Needs review (automated column, do not place items here manually)
Development

Successfully merging this pull request may close these issues.

Create Table: project_program_area_xref
1 participant