Commit df37f111 by John Jarvis Committed by Carlos Andrés Rocha

Adding modified and created fields to GeneratedCertificates

parent a9b26cb8
......@@ -59,6 +59,8 @@ class GeneratedCertificate(models.Model):
distinction = models.BooleanField(default=False)
status = models.CharField(max_length=32, default='unavailable')
name = models.CharField(blank=True, max_length=255)
created_date = models.DateTimeField(auto_now_add=True)
modified_date = models.DateTimeField(auto_now=True)
class Meta:
unique_together = (('user', 'course_id'),)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment