문제

I have 2 Entities with a ManyToMany Relation and some additional fields, here you can find an example diagram:

enter image description here

I created all models following the documentation and everything works, but I would also manage MTM relations using django admin without use another form to create a new "WheelsCar" row that links togheter a car and a wheel. Is it possible? How?

Admin use case:

  1. I click on add new Car
  2. I select one of the wheels, filling the additional fields (position, holes...)
  3. Iterate step 2
  4. Save a New Car
도움이 되었습니까?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top