We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf85790 commit d41ab50Copy full SHA for d41ab50
naucse/models.py
@@ -339,6 +339,7 @@ def __str__(self):
339
title = DataProperty(info)
340
slug = DataProperty(info)
341
date = DataProperty(info, default=None)
342
+ description = DataProperty(info, default=None)
343
344
def _time(self, key, default_time):
345
if self.date and default_time:
naucse/templates/course.html
@@ -42,6 +42,7 @@ <h4>
42
<small>({{ session.date | format_date }})</small>
43
{% endif %}
44
</h4>
45
+ {% if session.description %}{{ session.description | markdown }}{% endif %}
46
{{ material_list(session.materials) }}
47
</div>
48
{% endfor %}
0 commit comments