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.




2016-07-21 15:20 GMT+02:00 Ant <[email protected]>:
> 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
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAEuG%2BTZC_sbG%2BmyXyx581K43SQPDfnsz0vWutu4p2HQLDCK3zA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to