+
+
+class LessonStub(models.Model):
+ section = models.ForeignKey(Section, null=True, blank=True)
+ level = models.ForeignKey(Level)
+ title = models.CharField(max_length=255)
+ type = models.CharField(max_length=15, db_index=True)
+ order = models.IntegerField(db_index=True)
+
+ class Meta:
+ ordering = ['section', 'level', 'order']
+
+ def __unicode__(self):
+ return self.title
+
+ @property
+ def slug(self):
+ return ''
+
+ def add_to_zip(self, *args, **kwargs):
+ pass