Commit d335713d by Usman Khalid

Export CourseDescriptor wiki_slug field to xml.

LMS-2136
parent 8f3cfa5a
......@@ -603,6 +603,11 @@ class CourseDescriptor(CourseFields, SequenceDescriptor):
xml_object.append(textbook_xml_object)
if self.wiki_slug is not None:
wiki_xml_object = etree.Element('wiki')
wiki_xml_object.set('slug', self.wiki_slug)
xml_object.append(wiki_xml_object)
return xml_object
def has_ended(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment