Adrian Holovaty
|
a13a47e447
|
Fixed #3314 -- Fixed a bug in newforms smart_unicode. Thanks for the patch, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-15 04:13:02 +00:00 |
Adrian Holovaty
|
6245816dd9
|
Fixed #3456 -- Made it easier/more intuitive to render newforms help_text in templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-15 04:03:47 +00:00 |
Adrian Holovaty
|
2ec2bf6989
|
Fixed #1466 -- Added newforms USZipCodeField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-15 03:37:25 +00:00 |
Adrian Holovaty
|
0518205308
|
Implemented subclassing Forms in newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-14 23:44:46 +00:00 |
Adrian Holovaty
|
9efa60dafb
|
Fixed #3489 -- Changed newforms to use copy.copy() in constructing self.fields, so changes to self.fields in a given form instance do not affect other instances
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-13 18:04:47 +00:00 |
Malcolm Tredinnick
|
ea7b3fd148
|
Fixed #3449 -- fixed regression test results so that they all pass now. Thanks
Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-09 22:09:07 +00:00 |
Adrian Holovaty
|
cf75fcc832
|
Fixed #3255 -- Added help_text argument to newforms Field class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-28 22:10:04 +00:00 |
Adrian Holovaty
|
546f16d323
|
newforms: Added a unit test that tests dynamic field addition with base fields defined on the class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-27 22:16:16 +00:00 |
Adrian Holovaty
|
c93686c698
|
Fixed #3334 -- Changed newforms Form class construction so that appending to (or altering) self.fields affects only the instance, not the class. As a consequence, self.fields is created in Form.__init__(). The form metaclass now creates a variable self.base_fields instead of self.fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-27 22:06:56 +00:00 |
Adrian Holovaty
|
c0e01416b6
|
Fixed #3312 -- CheckboxSelectMultiple no longer uses duplicate ID attributes for each checkbox
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-27 21:41:32 +00:00 |
Adrian Holovaty
|
982a9443e1
|
Fixed #3300 -- Changed newforms Select widget to collapse 'choices' into a list if it's an iterable, so the iterable can be iterated over multiple times.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-27 21:30:26 +00:00 |
Adrian Holovaty
|
788f8f7454
|
newforms: Implemented NullBooleanField and NullBooleanSelect
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-24 05:23:19 +00:00 |
Adrian Holovaty
|
8a6c337f2a
|
newforms: Added MultiValueField, SplitDateTimeField, MultiWidget, SplitDateTimeWidget
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-23 20:23:07 +00:00 |
Adrian Holovaty
|
76f6dd42cc
|
Fixed #3196 -- Fixed inconsistency in setting choices on ChoiceFields dynamically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-21 01:29:01 +00:00 |
Adrian Holovaty
|
f073318668
|
newforms: Fixed confusing behavior when setting choices for ChoiceFields and their corresponding Widgets. Now, a Widget uses the choices from its ChoiceField regardless of whether the Widget has its own choices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-21 01:10:55 +00:00 |
Adrian Holovaty
|
a154d94e45
|
newforms: Added attrs optional argument to BoundForm.label_tag()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 20:31:17 +00:00 |
Adrian Holovaty
|
f2a3deb087
|
Fixed #3281 -- newforms: URLField now works properly with required=False and verify_exists=True together. Thanks, zendak
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-13 05:19:15 +00:00 |
Adrian Holovaty
|
6b31f95516
|
Fixed #3293 -- newforms: Changed IntegerField.clean() to return None if field is not required and empty. Thanks, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-13 05:08:07 +00:00 |
Adrian Holovaty
|
a0137c41f3
|
Fixed #3289 -- newforms: Added value_from_datadict method to MultipleHiddenInput
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-13 04:51:57 +00:00 |
Adrian Holovaty
|
663ef14f02
|
newforms: Added unit tests for MultipleHiddenInput
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-13 04:43:34 +00:00 |
Adrian Holovaty
|
73d62743e9
|
newforms: Added unit tests and docs explaining that clean_data will only ever contain fields of the form, even if extra fields are passed in data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-11 00:04:27 +00:00 |
Adrian Holovaty
|
fa38ce7207
|
Fixed #3266 -- newforms: Made RadioSelect accept funky characters. Thanks for reporting, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 23:25:29 +00:00 |
Adrian Holovaty
|
f6a7002ef1
|
Fixed #3278 -- newforms: Fixed bug in DeclarativeFieldsMetaclass where it inadvertently overrode the class' name. Thanks, russblau@imapmail.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 22:46:06 +00:00 |
Adrian Holovaty
|
fb60a6ff0a
|
Fixed #3193 -- newforms: Modified as_hidden() to handle MultipleChoiceField correctly. Thanks for the report, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:12:25 +00:00 |
Adrian Holovaty
|
2e148d7064
|
newforms: Added 'initial' parameter to Form, which lets initial data be specified dynamically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 04:39:44 +00:00 |
Adrian Holovaty
|
02f690f738
|
newforms: Changed Form.ignore_errors to Form.is_bound, which is more descriptive and can be helpful to access at runtime
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 00:04:38 +00:00 |
Adrian Holovaty
|
b1f6b376c0
|
newforms: Changed Form so that clean_data only exists if a Form is valid. Thanks for the idea, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-04 06:25:53 +00:00 |
Russell Keith-Magee
|
eecd90f5c2
|
Fixed problem with SelectDateWidget test caused by 2006/2007 year rollover. Thanks, Robert Myers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 03:58:11 +00:00 |
Adrian Holovaty
|
2cb0fe71a2
|
newforms: Added 'initial' parameter to Field. This allows you to specify initial data that will be displayed with the form if no data is given. Also added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 00:01:52 +00:00 |
Adrian Holovaty
|
b5cd7d469d
|
newforms: Added max_length and min_length optional arguments to RegexField, EmailField and URLField. Note that the argument order for those three fields has changed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:46:10 +00:00 |
Adrian Holovaty
|
d0fcef9db0
|
newforms: A label can now be the empty string, in which case a label won't be displayed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:33:20 +00:00 |
Adrian Holovaty
|
30c2bffe17
|
newforms: Changed Form.as_table() to display errors in same <td> as the field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:16:16 +00:00 |
Adrian Holovaty
|
247fdc19ad
|
newforms: Implemented RadioFieldRenderer.__getitem__(), which allows for index lookup on radio fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 22:56:53 +00:00 |
Adrian Holovaty
|
86870e7587
|
newforms: Added django.newforms.extras.widgets, with SelectDateWidget implementation, plus some unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-24 20:22:38 +00:00 |
Adrian Holovaty
|
cd394a246a
|
Fixed #3153 -- newforms 'label' argument now can contain wacky characters. Thanks, dswistowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-17 19:04:03 +00:00 |
Adrian Holovaty
|
546297be27
|
newforms: Implemented min_value and max_value options for IntegerField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 23:18:47 +00:00 |
Adrian Holovaty
|
26489d4e2a
|
newforms: Fixed unexpected behavior with CharField(required=False, min_length=X). Thanks for reporting, Benjamin Slavin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 23:07:41 +00:00 |
Adrian Holovaty
|
fc11b97e97
|
Fixed #3143 -- Added TimeField to newforms. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-14 20:35:32 +00:00 |
Adrian Holovaty
|
d8a21981b7
|
Fixed #3139 -- newforms BoundField no longer returns empty errors when using a prefix. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 23:03:19 +00:00 |
Adrian Holovaty
|
6733c39804
|
Fixed #3112 -- Changed newforms Form.as_table() to use <th> instead of <td> for first column
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:44:57 +00:00 |
Adrian Holovaty
|
4add4e4272
|
Fixed #3114 -- newforms MultipleChoiceField now handles MultiValueDicts properly. Thanks for the patch, Honza Král
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:26:04 +00:00 |
Adrian Holovaty
|
faaec9c28f
|
Fixed #3132 -- Added prefix support for newforms. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-12 05:55:39 +00:00 |
Adrian Holovaty
|
05588b3797
|
newforms: Changed Form to use auto_id by default
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-11 02:38:18 +00:00 |
Adrian Holovaty
|
d93021eb10
|
Fixed #3102 -- newforms: Fields can now designate their human-friendly labels. BoundField.verbose_name is now BoundField.label
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 20:06:12 +00:00 |
Adrian Holovaty
|
f10a910577
|
newforms: Added Field.widget_attrs() hook, which lets a Field designate HTML attributes to use in its widget. Implemented CharField.widget_attrs(), which sets the HTML maxlength attribute for <input type='text'> and <input type='password'>. Thanks for the idea, Gary Doades
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 18:54:53 +00:00 |
Adrian Holovaty
|
7e269bd390
|
Fixed #3107 -- newforms: Added Form.as_p()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:34:37 +00:00 |
Adrian Holovaty
|
44add112e5
|
newforms: Form.as_ul() no longer puts hidden fields between <li>s. Similar to [4175], which was the same thing for Form.as_table(). Refs #3101
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:17:06 +00:00 |
Adrian Holovaty
|
300f26deff
|
Fixed #3101 -- newforms: Form.as_table() no longer puts hidden fields between <tr>s. Thanks for reporting, Eric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:06:58 +00:00 |
Adrian Holovaty
|
12e9a84429
|
newforms: Changed Table.as_table() and Table.as_ul() to put hidden-form errors at the top of the output rather than in field order
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:35:39 +00:00 |
Adrian Holovaty
|
468993d13e
|
newforms: Added check_test argument to CheckboxInput and changed its render() behavior slightly. Also changed CheckboxSelectMultiple to use checkboxes with the same name, rather than checkboxes with separate names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 22:06:08 +00:00 |