Skip to content

Commit

Permalink
Merge pull request #46 from LaurierCS/update-recommendations-model
Browse files Browse the repository at this point in the history
add lat and lon fields to the recommendation model
  • Loading branch information
itsPedro231 authored Nov 28, 2023
2 parents 8bdb6f1 + 3fe80ce commit 026bf79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/optimeet/groups/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class Recommendations(models.Model):
place_name = models.CharField(max_length=50)
place_url = models.CharField(max_length=100)
times = models.JSONField()

loc_lat = models.FloatField()
loc_long = models.FloatField()

class Preferences(models.Model):
group_id = models.ForeignKey(Group, on_delete=models.CASCADE, default="")
Expand Down

0 comments on commit 026bf79

Please sign in to comment.