Install a custom user model
This commit is contained in:
parent
6bd1feff3b
commit
8bd2faa8a9
9 changed files with 78 additions and 0 deletions
7
users/models.py
Normal file
7
users/models.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django.db import models
|
||||
from django.contrib.auth.models import AbstractUser
|
||||
|
||||
|
||||
class User(AbstractUser):
|
||||
avatar = models.ImageField()
|
||||
note = models.TextField(blank=True)
|
Loading…
Add table
Add a link
Reference in a new issue