Skip to content
Snippets Groups Projects
Commit d335713d authored by Usman Khalid's avatar Usman Khalid
Browse files

Export CourseDescriptor wiki_slug field to xml.

LMS-2136
parent 8f3cfa5a
No related branches found
Tags release-2021-06-09-12.41
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment