This commit is contained in:
relaxed 2024-08-18 03:34:33 +05:00
commit 8851786e67
353 changed files with 36724 additions and 0 deletions

11
mainapp/models.py Executable file
View file

@ -0,0 +1,11 @@
from django.db import models
# Create your models here.
class Comments(models.Model):
name = models.CharField("Имя", max_length=50)
mail = models.CharField("Почта", max_length=100)
phone_num = models.CharField("Номер", max_length=15)
coment = models.TextField("Сообщение")
date_time = models.CharField("Время", max_length=50)
def __str__(self) -> str:
return self.name