Adding migration to store purchased mode in PaidCourseRegistration

This commit is contained in:
Jason Bau
2013-08-20 14:49:26 -07:00
committed by Diana Huang
parent 65f2814d73
commit efbb439cb5
6 changed files with 129 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ class CourseMode(models.Model):
currency = models.CharField(default="usd", max_length=8)
DEFAULT_MODE = Mode('honor', _('Honor Code Certificate'), 0, '', 'usd')
DEFAULT_MODE_SLUG = 'honor'
class Meta:
""" meta attributes of this model """