I'm using through in Django's ManyToManyField, but I got an error and I don't know how to improve it.

Asked 2 years ago, Updated 2 years ago, 148 views

After creating a program in Windows 10 and verifying its operation, Ubuntu 18 writes the same thing.It works fine with Windows works fine.
The model containing the ManyToManyField goes into DB, but does not contain data from the intermediate table.

The error is as follows:

AttributeError at/seisan/parts_s_create/
Cannot set values on a ManyToManyField which specifications an intermediary model.Useisan.MaterialPartsRelation's Manager installed
Request Method: POST
Django Version—2

python3 ubuntu django windows-10 data-structure

2022-09-30 20:13

1 Answers

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.