Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django-generic-follow doesn't play nice with others #5

Closed
bashu opened this issue Nov 19, 2014 · 3 comments
Closed

django-generic-follow doesn't play nice with others #5

bashu opened this issue Nov 19, 2014 · 3 comments

Comments

@bashu
Copy link

bashu commented Nov 19, 2014

django-generic-follow doesn't play nice with others, for example with django-activity-stream, running python ./manage.py syncdb command:

CommandError: System check identified some issues:

ERRORS:
actstream.Follow.content_type: (fields.E304) Reverse accessor for 'Follow.content_type' clashes with reverse accessor for 'Follow.target_content_type'.
    HINT: Add or change a related_name argument to the definition for 'Follow.content_type' or 'Follow.target_content_type'.
actstream.Follow.user: (fields.E304) Reverse accessor for 'Follow.user' clashes with reverse accessor for 'Follow.user'.
    HINT: Add or change a related_name argument to the definition for 'Follow.user' or 'Follow.user'.
generic_follow.Follow.target_content_type: (fields.E304) Reverse accessor for 'Follow.target_content_type' clashes with reverse accessor for 'Follow.content_type'.
    HINT: Add or change a related_name argument to the definition for 'Follow.target_content_type' or 'Follow.content_type'.
generic_follow.Follow.user: (fields.E304) Reverse accessor for 'Follow.user' clashes with reverse accessor for 'Follow.user'.
    HINT: Add or change a related_name argument to the definition for 'Follow.user' or 'Follow.user'.
@bashu
Copy link
Author

bashu commented Nov 26, 2014

any chance to fix that in a near future?

@jacobh
Copy link
Contributor

jacobh commented Nov 26, 2014

Hi, I have to agree with @justquick 's comment here justquick/django-activity-stream#212 (comment)

Why would you like to use both of these apps at the same time?

If changing just the related name on target_content_type fixed the problem I'd be happy to make that change, I don't see that reverse relation being used. user.follow_set however is used heavily and I would not want to change that.

@bashu
Copy link
Author

bashu commented Nov 28, 2014

I just don't care about it anymore ;-)

@bashu bashu closed this as completed Nov 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants