-
-
Notifications
You must be signed in to change notification settings - Fork 295
Open
Description
class Parent(PolymorphicModel):
...
class Child(Parent):
spam = models.ManyToManyField(Parent)
$ ./manage.py makemigrations
SystemCheckError: System check identified some issues:
ERRORS:
myapp.Child.spam: (fields.E305) Reverse query name for 'myapp.Child.spam' clashes with reverse query name for 'myapp.Child.parent_ptr'.
HINT: Add or change a related_name argument to the definition for 'myapp.Child.spam' or 'myapp.Child.parent_ptr'.
Metadata
Metadata
Assignees
Labels
No labels