Skip to content

Commit

Permalink
fix #413 (#414)
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Mladek <michal.mladek@nic.cz>
  • Loading branch information
michalnik and Michal Mladek committed Apr 14, 2021
1 parent 24efd81 commit 139d577
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions registration/models.py
Expand Up @@ -306,6 +306,8 @@ class RegistrationProfile(models.Model):
account registration and activation.
"""
default_auto_field = 'django.db.models.AutoField'

user = models.OneToOneField(
UserModelString(),
on_delete=models.CASCADE,
Expand Down

0 comments on commit 139d577

Please sign in to comment.