fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add related lessons.
[edumed.git]
/
catalogue
/
models.py
diff --git
a/catalogue/models.py
b/catalogue/models.py
index
0c3a54c
..
ee0222c
100644
(file)
--- a/
catalogue/models.py
+++ b/
catalogue/models.py
@@
-35,7
+35,7
@@
class Section(models.Model):
lessons = [Lesson.objects.get(slug=part.slug)
for part in wldoc.book_info.parts]
except Lesson.DoesNotExist, e:
- raise cls.IncompleteError(
e
)
+ raise cls.IncompleteError(
part.slug
)
slug = wldoc.book_info.url.slug
try: