Update models.py

Backwards compatibility
This commit is contained in:
Adam Trager 2016-01-06 18:14:56 -05:00
parent 8207c6378b
commit 9ab646a44f

View File

@ -27,7 +27,7 @@ class HRApplication(models.Model):
class HRApplicationComment(models.Model):
created_on = models.DateTimeField(auto_now_add=True)
created_on = models.DateTimeField(auto_now_add=True, null=True)
comment = models.CharField(max_length=254, default="")
application = models.ForeignKey(HRApplication)
commenter_user = models.ForeignKey(User)