CustomUser is my custom user model
CommandError: System check identified some issues:
ERRORS:
auth.User.groups: (E016) Clash between accessors for User.groups and
CustomUser.groups.
HINT: Add or change a related_name argument to the definition for
User.groups or CustomUser.groups.auth.User.user_permissions: (E016) Clash
between accessors for User.user_permissions and
CustomUser.user_permissions.
HINT: Add or change a related_name argument to the definition for
User.user_permissions or
CustomUser.user_permissions.myusers.CustomUser.groups: (E016) Clash
between accessors for CustomUser.groups and User.groups.
HINT: Add or change a related_name argument to the definition for
CustomUser.groups or User.groups.myusers.CustomUser.user_permissions:
(E016) Clash between accessors for CustomUser.user_permissions and
User.user_permissions.
HINT: Add or change a related_name argument to the definition for
CustomUser.user_permissions or User.user_permissions.
--
Ticket URL: <https://code.djangoproject.com/ticket/22153>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => fixed
* needs_tests: => 0
* needs_docs: => 0
Comment:
Looks like I got it resolved , I had to add AUTH_USER_MODEL in my
settings, but to be frank I tried this solution yesterday but that didnt
work now it is fine. Sorry for the spam
--
Ticket URL: <https://code.djangoproject.com/ticket/22153#comment:1>
Comment (by rokj):
Was banging my head to the wall for two hours, until I found your post. I
accidently commented out AUTH_USER_MODEL, and then this...
--
Ticket URL: <https://code.djangoproject.com/ticket/22153#comment:2>