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

User model fields accessors clashes issue solved #251

Merged
merged 1 commit into from
Apr 19, 2014
Merged

Conversation

wumzi
Copy link

@wumzi wumzi commented Apr 19, 2014

Running the provided Django example was impossible with Django 1.6, it gave the following error:

python manage.py syncdb
CommandError: One or more models did not validate:
app.customuser: Accessor for m2m field 'groups' clashes with related m2m field 'Group.user_set'. Add a related_name argument to the definition for 'groups'.
app.customuser: Accessor for m2m field 'user_permissions' clashes with related m2m field 'Permission.user_set'. Add a related_name argument to the definition for 'user_permissions'.
auth.user: Accessor for m2m field 'groups' clashes with related m2m field 'Group.user_set'. Add a related_name argument to the definition for 'groups'.
auth.user: Accessor for m2m field 'user_permissions' clashes with related m2m field 'Permission.user_set'. Add a related_name argument to the definition for 'user_permissions'.

omab added a commit that referenced this pull request Apr 19, 2014
User model fields accessors clashes issue solved
@omab omab merged commit 2cae73c into omab:master Apr 19, 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

Successfully merging this pull request may close these issues.

2 participants