Permalink
Browse files

Make some things non-required that were newly required.

  • Loading branch information...
ralphbean committed Aug 27, 2013
1 parent 0399151 commit 14507319dabd84ec6175232c15551709623f7f48
Showing with 2 additions and 2 deletions.
  1. +2 −2 tw2/core/widgets.py
@@ -896,7 +896,7 @@ class DisplayOnlyWidget(six.with_metaclass(DisplayOnlyWidgetMeta, Widget)):
'Children specified for this widget will be passed to the child',
default=[],
)
id_suffix = pm.Variable('Suffix to append to compound IDs')
id_suffix = pm.Variable('Suffix to append to compound IDs', default=None)
def __new__(cls, **kw):
newname = calc_name(cls, kw, 'd')
@@ -996,7 +996,7 @@ class Page(DisplayOnlyWidget):
An HTML page. This widget includes a :meth:`request` method that serves
the page.
"""
title = pm.Param('Title for the page')
title = pm.Param('Title for the page', default=None)
content_type = pm.Param(
'Content type header',
default=pm.Deferred(default_content_type),

0 comments on commit 1450731

Please sign in to comment.