Commit cdc2ff04 by Bridger Maxwell

Added a datetime stamp to course enrollments.

parent 36373bb4
......@@ -94,6 +94,8 @@ class CourseEnrollment(models.Model):
user = models.ForeignKey(User)
course_id = models.CharField(max_length=255, db_index=True)
date = models.DateTimeField(auto_now_add=True, null=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