Commit 9d0e9f67 by David Baumgold Committed by Don Mitchell

Add dummy start dates to static_tab and course_info xmodules

parent c24820ae
......@@ -271,6 +271,12 @@ class StaticTabFields(object):
scope=Scope.content,
help="HTML for the additional pages"
)
# this exists purely to override the default start date
start = Date(
help="placeholder to make sure that Static Tabs are always active",
default=datetime.fromtimestamp(0, UTC),
scope=Scope.settings,
)
class StaticTabModule(StaticTabFields, HtmlModule):
......@@ -298,6 +304,12 @@ class CourseInfoFields(object):
default="<ol></ol>",
scope=Scope.content
)
# this exists purely to override the default start date
start = Date(
help="placeholder to make sure that Course Info is always active",
default=datetime.fromtimestamp(0, UTC),
scope=Scope.settings,
)
class CourseInfoModule(CourseInfoFields, HtmlModule):
......
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