hacknight
hacknight copied to clipboard
Subscriptions/notifications about new hackathons
It would be awesome if I could sign up to be notified about new hackathons that are posted/approved on Hacknight
Version 1:
- Add a cron job which will mail all subscribed users about the event.
- User can opt in for email notification about hacknight. This iteration will not focus on segmented notification like
location
ortopic
based.
Models
User
- Add a new field
send_newsletter
which isboolean
field.
EmailCampaign (new model)
-
event_id
- ForeignKey toEvent
model. -
start_datetime
-DateTime
field when cron job started. -
end_datetime
-DateTime
field when cron job finished (Nullable).
EmailCampaignUser
-
user_id
- Foreign key toUser
model. -
email_campaign_id
- Foreign key toEmailCampaign
model. - model to keep track of all users who received the event notification.
- Add relations to
Event
model likecampaign
andcampaign_users
to fetch event campaign results.