lass Bill_pass (models.Model): party_code = models.ForeignKey ('Suppmast', default = autonum, on_delete = models.CASCADE) party_name = Suppmast ('party_name') bill_no = models.CharField (max_length = 15) bill_date= models.DateField () bill_amt = models.DecimalField (max_digits = 20, decimal_places = 2) материал = models.TextField () gsttype = models.CharField (max_length = 15) gstamt = models.IntegerField (max_length = 20) bill_pass_dt = models.DateField (по умолчанию = timezone.now)