migrations run for lyric models; authentication & views & their tests now account more fully for uuid over email as pk
This commit is contained in:
@@ -7,10 +7,10 @@ class Token(models.Model):
|
||||
|
||||
class User(models.Model):
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
# email = models.EmailField(primary_key=True)
|
||||
email = models.EmailField(unique=True)
|
||||
|
||||
REQUIRED_FIELDS = []
|
||||
USERNAME_FIELD = "email"
|
||||
is_anonymous = False
|
||||
|
||||
is_authenticated = True
|
||||
is_anonymous =False
|
||||
|
||||
Reference in New Issue
Block a user