feat: user

This commit is contained in:
Tahinli 2024-06-29 03:03:21 +03:00
parent 5dd685e882
commit ef4ca9ab6a
17 changed files with 244 additions and 85 deletions

12
user/models.py Normal file
View 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