Commit e74ddf81 by Don Mitchell

Merge branch 'release'

parents 6c0ac477 9d0e9f67
......@@ -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