from django.utils.translation import ugettext_lazy as _, get_language
from fnpdjango.storage import BofhFileSystemStorage
from fnpdjango.utils.models.translation import add_translatable
from django.utils.translation import ugettext_lazy as _, get_language
from fnpdjango.storage import BofhFileSystemStorage
from fnpdjango.utils.models.translation import add_translatable
course = models.ForeignKey(CurriculumCourse)
level = models.ForeignKey(CurriculumLevel)
type = models.CharField(max_length=16, choices=TYPES.items())
course = models.ForeignKey(CurriculumCourse)
level = models.ForeignKey(CurriculumLevel)
type = models.CharField(max_length=16, choices=TYPES.items())
assert m is not None, "Curriculum identifier doesn't match template."
level, created = CurriculumLevel.objects.get_or_create(
title=m.group('level'))
assert m is not None, "Curriculum identifier doesn't match template."
level, created = CurriculumLevel.objects.get_or_create(
title=m.group('level'))