1234567891011 |
- from django.db import models
- from tickets.models import Task
- class Favoritecontacts(models.Model):
- client_id = models.IntegerField(help_text="id")
- phone_number = models.CharField(max_length=50,help_text="Номер телефона")
- full_name = models.CharField(max_length=100, help_text="Полное ФИО")
- class Meta:
- db_table = "favoritecontacts"
- verbose_name = "Избранные контакты"
- verbose_name_plural = "Избранные контакты"
|