Closed theonlysam closed 1 year ago
Also will want to give the users the option of select the type of messages they will receive. e.g. when a booking is made an email is sent. When a booking is modified or released an email is sent. When the admin messages everyone an email is sent
Users should have the option to select if they want to receive the booking emails, update emails etc. Most likely a separate table to store the preferences for all members?
Also will want to give the users the option of select the type of messages they will receive. e.g. when a booking is made an email is sent. When a booking is modified or released an email is sent. When the admin messages everyone an email is sent
Users should have the option to select if they want to receive the booking emails, update emails etc. Most likely a separate table to store the preferences for all members?
you could make those boolean fields on the Members table
The guest table is to store the members and invited guests that are attached to each booking or did I misunderstood?
The guest table is to store the members and invited guests that are attached to each booking or did I misunderstood?
I thought we were going with something like this?
class Booking(models.Model):
start_date = models.DateTimeField()
end_date = models.DateTimeField()
date_added = models.DateTimeField(auto_now_add=True)
recurring = models.BooleanField(default=False)
owner = models.ForeignKey(Member, ...)
guests = models.ManyToManyField(Member)
Technically it could work I think, it would involve add the guests as members with the related information to the member table. As opposed to just adding the name of the guest that is invited. I see it as guests aren't members so maybe should be in the members tables. We could discuss at the next checkin
Initial project creation and model setup without any makemigrations