🐛 Fix broken scoping of EmailField
This commit is contained in:
parent
e2f1e1f0fb
commit
415e7d46f5
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class Group(Model):
|
|||
|
||||
class User(Model):
|
||||
id = field.IntField(pk=True)
|
||||
email = CharField(unique=True, index=True)
|
||||
email = field.CharField(unique=True, index=True)
|
||||
username = field.CharField(max_length=150, unique=True)
|
||||
password_hash = field.CharField(max_length=128)
|
||||
is_admin = field.BooleanField(default=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue