- from django.db import models
- from tickets.models import Task
- class Preferreddrivers(models.Model):
- client_id = models.IntegerField(help_text="Client id")
- provider_id = models.IntegerField(help_text="Provider id")
- class Meta:
- db_table = "Prefereddrivers"
- verbose_name = "Предпочтительные водители"
- verbose_name_plural = "Предпочтительные водители"
|