feat: ✨ user
This commit is contained in:
parent
5dd685e882
commit
ef4ca9ab6a
17 changed files with 244 additions and 85 deletions
12
user/models.py
Normal file
12
user/models.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from django.db import models
|
||||
|
||||
|
||||
# Create your models here.
|
||||
|
||||
class User(models.Model):
|
||||
username = models.CharField(max_length=15, unique=True)
|
||||
date_created = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.username
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue