Commit 7dd6f6f3 by John Jarvis

Adding modified and created fields to GeneratedCertificates

parent 9915727c
......@@ -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