Commit 6b2389de82b24226ad025262f8a1c26e6d13935d
1 parent
5d8113b1
Exists in
master
and in
5 other branches
change just name from course's category model, becouse it was already created. N…
…ot me that created #140
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
courses/models.py
... | ... | @@ -5,7 +5,7 @@ from users.models import User |
5 | 5 | from core.models import Resource |
6 | 6 | from s3direct.fields import S3DirectField |
7 | 7 | |
8 | -class Category(models.Model): | |
8 | +class CourseCategory(models.Model): | |
9 | 9 | |
10 | 10 | name = models.CharField(_('Name'), max_length = 100, unique = True) |
11 | 11 | slug = AutoSlugField(_("Slug"),populate_from='name',unique=True) | ... | ... |