Hello Mark,

The only downside I can think of is that you won't be able to create
relationships from the m2m managers, you'll have to create the
relationship directly instead.

This isn't such a big issue if you plan on adding fields later to
the intermediary model later on anyway.

You can read more about the subject in the documentation[0]

Best,
Simon

[0] 
https://docs.djangoproject.com/en/2.0/topics/db/models/#intermediary-manytomany

Le mardi 19 décembre 2017 16:54:08 UTC-5, mark a écrit :
>
> Is there any downside to creating a through table in a many to many 
> relationship when there isn't any "extra" related data, but there might be 
> in the future? 
>
> I have read that migrating from a simple m2m relationship to a m2m with a 
> through table takes some jumping through hurdles, so I am considering 
> creating the through table now in case "the powers that be" (ie end users!) 
> decide we need some extra data for the relationship in the future.
>
> Thanks!
>
> Mark
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/78e4d6f9-ebe8-428a-8715-0040febf8a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to