+ def get_absolute_url(self):
+ return "%s?s=%d" % (reverse("curriculum"), self.pk)
+
+ def url_for_level(self, level):
+ return "%s?s=%d&level=%s&d=1" % (reverse("curriculum"), self.pk, level.slug)
+
+add_translatable(Section, {
+ 'name': models.CharField(_('name'), max_length=255, default = '')
+})
+
+