Drop help_text

This commit is contained in:
Tom Christie 2012-10-19 09:20:54 +01:00
parent 643d3491a6
commit dab177e29e
2 changed files with 1 additions and 4 deletions

View File

@ -110,7 +110,7 @@ class WritableField(Field):
def __init__(self, source=None, readonly=False, required=None,
validators=[], error_messages=None, widget=None,
help_text=None, initial=None):
initial=None):
super(WritableField, self).__init__(source=source)
@ -131,7 +131,6 @@ class WritableField(Field):
# These attributes are ony used for HTML forms.
self.initial = initial
self.help_text = help_text and smart_unicode(help_text) or ''
widget = widget or self.widget
if isinstance(widget, type):

View File

@ -286,8 +286,6 @@ class BrowsableAPIRenderer(BaseRenderer):
kwargs['widget'] = v.widget
if getattr(v, 'initial', None):
kwargs['initial'] = v.initial
if getattr(v, 'help_text', None):
kwargs['help_text'] = v.help_text
kwargs['label'] = k
print kwargs