Commit db27b2ed by Bridger Maxwell

Now using the course name as the default wiki namespace.

parent a3ce7bf0
...@@ -29,6 +29,10 @@ class CourseDescriptor(SequenceDescriptor): ...@@ -29,6 +29,10 @@ class CourseDescriptor(SequenceDescriptor):
@property @property
def instructors(self): def instructors(self):
return self.get_about_section("instructors").split("\n") return self.get_about_section("instructors").split("\n")
@property
def wiki_namespace(self):
return self.location.course
def get_about_section(self, section_key): def get_about_section(self, section_key):
""" """
......
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