Use allauth basics #2
|
@ -2,4 +2,4 @@ from django.db import models
|
|||
|
||||
|
||||
class Profile(models.Model):
|
||||
user = models.OneToOneField('auth.User')
|
||||
user = models.OneToOneField('auth.User', on_delete=models.CASCADE)
|
||||
|
|
Loading…
Reference in a new issue