Skip to content

Instantly share code, notes, and snippets.

@divyanshikathuria
Created July 10, 2014 09:13
Show Gist options
  • Save divyanshikathuria/6cc30a415252b4185636 to your computer and use it in GitHub Desktop.
Save divyanshikathuria/6cc30a415252b4185636 to your computer and use it in GitHub Desktop.
from django.db import models
class TaDa(models.Model):
#suspence = models.ForeignKey(SuspenceOrder)
suspence_id= models.IntegerField()
departure_time_from_tcc= models.TimeField()
arrival_time_at_site = models.TimeField()
departure_time_from_site = models.TimeField()
arrival_time_at_tcc = models.TimeField()
tada_amount = models.IntegerField()
start_test_date = models.DateField()
end_test_date = models.DateField()
testing_site= models.CharField(max_length=100)
testing_staff = models.CharField(max_length=100)
# def __unicode__(self):
# return self.suspence
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment