Skip to content

How to deal with model clashes in wagtail? #31

Description

@krystianmagdziarz

How can I deal with clashes like below?

pinax_comments.Comment.author: (fields.E304) Reverse accessor for 'pinax_comments.Comment.author' clashes with reverse accessor for 'wagtailcore.Comment.user'.
HINT: Add or change a related_name argument to the definition for 'pinax_comments.Comment.author' or 'wagtailcore.Comment.user'.

pinax_comments.Comment.author: (fields.E305) Reverse query name for 'pinax_comments.Comment.author' clashes with reverse query name for 'wagtailcore.Comment.user'.
HINT: Add or change a related_name argument to the definition for 'pinax_comments.Comment.author' or 'wagtailcore.Comment.user'.

wagtailcore.Comment.user: (fields.E304) Reverse accessor for 'wagtailcore.Comment.user' clashes with reverse accessor for 'pinax_comments.Comment.author'.
HINT: Add or change a related_name argument to the definition for 'wagtailcore.Comment.user' or 'pinax_comments.Comment.author'.

wagtailcore.Comment.user: (fields.E305) Reverse query name for 'wagtailcore.Comment.user' clashes with reverse query name for 'pinax_comments.Comment.author'.
HINT: Add or change a related_name argument to the definition for 'wagtailcore.Comment.user' or 'pinax_comments.Comment.author'.

Are you planning to support wagtail > 2.13.0 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions