You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though files and articles have one-to-many relations, the code uses many-to-many. It seems that it can be solved by just changing the field to ForeignKey, there are cases where the idempotent issue occurred, resulting in two articles with the same content being made. In these cases, attachments have multiple related articles.
The text was updated successfully, but these errors were encountered:
Though files and articles have one-to-many relations, the code uses many-to-many. It seems that it can be solved by just changing the field to
ForeignKey
, there are cases where the idempotent issue occurred, resulting in two articles with the same content being made. In these cases, attachments have multiple related articles.The text was updated successfully, but these errors were encountered: