Django Email Model

17 views
Skip to first unread message

Ant

unread,
Jul 21, 2016, 9:20:35 AM7/21/16
to Django users
Being a Django "newcomer" I am hoping someone can help us with this simple problem.

We have a model for students containing names and email addresses. We want them to subscribe to various newsletters. 

Is it better to have a separate model for newsletters and how would we produce the list for these subscribers.

I have read other posts on this subject but am still somewhat confused!

Any help would be greatly appreciated.

Thanks

ludovic coues

unread,
Jul 21, 2016, 10:06:19 AM7/21/16
to django...@googlegroups.com
https://docs.djangoproject.com/en/1.9/topics/db/examples/many_to_many/

Each student can subscribe to more than one newsletter
Each newsletter have many of students.
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6c79fe60-559b-47cd-9613-168262edf517%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42
Reply all
Reply to author
Forward
0 new messages