Commit 0a34fa4da99f429ed09dfebe0d925f02202af520

Authored by ailsoncgt
1 parent a39617d5

Removing file model from course #132

Showing 1 changed file with 0 additions and 13 deletions   Show diff stats
courses/models.py
... ... @@ -116,19 +116,6 @@ class Material(Resource):
116 116 all_students = models.BooleanField(_('All Students'), default=False)
117 117  
118 118 """
119   -Topic File
120   -"""
121   -class File(Material):
122   - description = models.TextField(_('Description'), blank=True)
123   - content = models.FileField(upload_to='uploads/courses/subject/topic/%Y/%m/%d/')
124   - typ = models.ForeignKey(MymeType, verbose_name= _('Type'), related_name='file')
125   -
126   - class Meta:
127   - verbose_name = _('Topic file')
128   - verbose_name_plural = _('Topic files')
129   -
130   -
131   -"""
132 119 It is a category for each subject.
133 120 """
134 121 class SubjectCategory(models.Model):
... ...