Skip to content

Commit

Permalink
Make some things non-required that were newly required.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Aug 27, 2013
1 parent 0399151 commit 1450731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tw2/core/widgets.py
Expand Up @@ -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')
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 1450731

Please sign in to comment.