Skip to content

Commit

Permalink
Remove duplicate foreign key in outreach (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanyychen authored May 8, 2024
1 parent e0e900f commit e8b0b03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion myapp/api/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ class OutreachStudent(models.Model):
car = models.CharField(max_length=65, default="No")
outreach_course = models.CharField(max_length=65, default="None")
quarter = models.ForeignKey(Quarter, blank=True, null=True, on_delete=models.SET_NULL)
quarter = models.ForeignKey(Quarter, blank=True, null=True, on_delete=models.SET_NULL)

def __str__(self) -> str:
return f"{self.user.first_name} {self.user.last_name} ({self.user.email})"
Expand Down

0 comments on commit e8b0b03

Please sign in to comment.