class Problem models Model client models ForeignKey Client details mod

1
2
3
4
5
6
7
8
9
class Problem(models.Model):
client = models.ForeignKey(Client)
details = models.TextField()
type = models.ForeignKey(ProblemType)
open_date = models.DateTimeField()
arrive_date = models.DateTimeField(blank=True)
technican = models.ForeignKey(User)
status = models.ForeignKey(ProblemStatus)
close_date = models.DateTimeField(blank=True)