Click to notify


What would be the best approach for having a way to register for notifications for events for users of the site?

My site has a load of events, i’d like the user to be able to click a checkbox or something that would then enable a notification to be presented on the dashboard for that user and a email to be sent.

Should i create a model Notification with a FK to the Events model and then the Notification would store the event_name, user_name and a event_notification check box?

I would want maybe to send the email 1 week before and then 1 day before kind of thing?

Any suggestion would be great.



Do you already have a relationship between User and Event? This would appear to be the type of field that would be part of a many-to-many through table in that relationship.