diff options
| author | diarmuidbourke <diarmuidbourke@gmail.com> | 2013-02-26 16:11:26 +0000 |
|---|---|---|
| committer | diarmuidbourke <diarmuidbourke@gmail.com> | 2013-02-26 16:11:26 +0000 |
| commit | dfff9b5ef6f480dcf832d9154af24b52707e3387 (patch) | |
| tree | b3c1c73d3c09a3e852079f609c1d4b665f8597ac /webtest/forms.py | |
| parent | 009cf76b29e60ce464660b8e2cb3085eca3e1faa (diff) | |
| download | webtest-dfff9b5ef6f480dcf832d9154af24b52707e3387.tar.gz | |
Added password class to Field.classes of type Text
This fixes the case where you have an input type='password' and the value attribute is never set.
Diffstat (limited to 'webtest/forms.py')
| -rw-r--r-- | webtest/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webtest/forms.py b/webtest/forms.py index d3dc90e..250a639 100644 --- a/webtest/forms.py +++ b/webtest/forms.py @@ -296,6 +296,8 @@ Field.classes['file'] = File Field.classes['text'] = Text +Field.classes['password'] = Text + Field.classes['checkbox'] = Checkbox Field.classes['textarea'] = Textarea |
