Skip to content

Commit

Permalink
feat: Change presenter to teacher
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaYousefpourM committed Jan 14, 2025
1 parent 920a24e commit 9d6f229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __str__(self):

class Presentation(models.Model):
name = models.CharField(max_length=SMALL_MAX_LENGTH)
teachers = models.ManyToManyField(Teacher)
presenters = models.ManyToManyField(Teacher)
desc = models.CharField(max_length=BIG_MAX_LENGTH)
year = models.IntegerField(blank=False, default=2020)
cost = models.PositiveIntegerField(default=0)
Expand Down

0 comments on commit 9d6f229

Please sign in to comment.