Open StErMi opened 10 years ago
Hm, that does look like a bug. You might be able to work around it temporarily by disabling your custom user, running the migrations, re-enabling it and generating the required migrations to move the foreign keys around.
Could it be possible that this bug is because I'm using django > 1.5 with a custom user model? I saw other issue like this online Il 15/ago/2014 12:56 "Dan Fairs" notifications@github.com ha scritto:
Hm, that does look like a bug. You might be able to work around it temporarily by disabling your custom user, running the migrations, re-enabling it and generating the required migrations to move the foreign keys around.
— Reply to this email directly or view it on GitHub https://github.com/danfairs/django-lazysignup/issues/41#issuecomment-52294935 .
Yes, that's almost certainly related. lazysignup
predates the custom user support in Django, and I've never really had time to work support into lazysignup
properly.
This is my current setup:
Django version: 1.6.1
I've installed django-lazysignup from pip I've configured everything
and I've updated settings with
LAZYSIGNUP_USER_MODEL = 'core.SLUser'
to use my User custom module.SLUser custom model is extending AbstractUser.
When I've done the
python manage.py migrate
commandI've got this error:
What should I do?
Thanks for help.
Cheers,