Instantly share code, notes, and snippets.

Embed
What would you like to do?
class CleanerPaymentTxn(models.Model):
created = models.DateTimeField(auto_now_add=True,null=True, blank=True)
cleaner = models.ForeignKey(Cleaner)
job_ids = models.TextField()
amount = models.FloatField()
success = models.NullBooleanField(null=True, blank=True)
error = models.TextField(null=True, blank=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment