You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added the interface as you described in README but this seems to trigger issues if I do it to existing AbstractUser model interface = models.ForeignKey(GamificationInterface).
I have custom user model like:
class User(AbstractUser):
REQUIRED_FIELDS = ['first_name', 'last_name', 'email']
USERNAME_FIELD = 'username'
I have added the interface as you described in README but this seems to trigger issues if I do it to existing AbstractUser model
interface = models.ForeignKey(GamificationInterface)
.I have custom user model like:
and I have added the interface to it
and now if I create superuser I get following error:
django.db.utils.IntegrityError: null value in column "interface_id" violates not-null constraint
The text was updated successfully, but these errors were encountered: