1
0

frequentaddress.py 479 B

1234567891011
  1. from django.db import models
  2. from tickets.models import Task
  3. class Frequentaddress(models.Model):
  4. client_id = models.IntegerField(help_text="id клиента")
  5. address = models.CharField(max_length=150, help_text="Адрес")
  6. description = models.CharField(max_length=150, help_text="Описание")
  7. class Meta:
  8. db_table = "frequentaddress"
  9. verbose_name = "Частые адреса"
  10. verbose_name_plural = "Частые адреса"