Modify ↓
Ticket #60 (closed defect: fixed)
many-to-many self reference - can't do this
| Reported by: | jachuf@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4 |
| Component: | migrations | Version: | 0.3 |
| Keywords: | many-to-many self-reference | Cc: |
Description
I've got Article model which is inheriting from BaseArticle? model. Article has many-to-many self-reference. I found, that I cannot create this type of relationship via South migration - if I use ManyToManyField? in migration it returns None. I tried with mock model and with real model and it didn't work, so I think it is South bug.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Many-to-many fields should work, and I've just finished ironing out a load of bugs with them. Have you tried:
If both of these don't work, I'd appreciate the correct snippet of models.py as an attachment.