Commit ae955ec4 by Bridger Maxwell

Now using the course name as the default wiki namespace.

parent 5bf6c732
...@@ -30,6 +30,10 @@ class CourseDescriptor(SequenceDescriptor): ...@@ -30,6 +30,10 @@ class CourseDescriptor(SequenceDescriptor):
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):
""" """
This returns the snippet of html to be rendered on the course about page, given the key for the section. This returns the snippet of html to be rendered on the course about page, given the key for the section.
......
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