Adrian Holovaty
|
472a0d379e
|
Added 'Notes on field ordering' to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 23:13:01 +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
|
10edce12fc
|
Updated docs/newforms.txt to reflect [4197]. Refs #3112
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:48:57 +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
|
49f6d06c2f
|
Fixed #3117 -- Changed setup.py to get version from django.VERSION dynamically. Thanks for the patch, ymasuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:07:15 +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
|
5467c34b0b
|
Added more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-11 03:03:54 +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
|
5c8d789efe
|
Edited docs/contributing.txt changes from [4190]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-11 01:24:33 +00:00 |
Russell Keith-Magee
|
08ba8e841b
|
Added ticket triage as one way to help out; added details on the need for tests and documentation on patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-11 00:44:02 +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
|
4e72dc86ff
|
Fixed small Unicode error in newforms. Thanks, Honza Král. Refs #3114
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 05:54:14 +00:00 |
Adrian Holovaty
|
5f36d9d562
|
Added django.contrib.contenttypes.management.create_all_contenttypes() function for convenience
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 16:19:37 +00:00 |
Adrian Holovaty
|
c50d333c23
|
newforms: Changed Form._html_output() to use dictionary-style format strings for more flexibility. Thanks, Waylan Limberg
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:49:05 +00:00 |
Adrian Holovaty
|
545ebf4395
|
Improved [4180] to add HTML escaping on the primary-key value in the error message
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:14:35 +00:00 |
Adrian Holovaty
|
201704be3d
|
Added improved error message in admin views/main.py when loading ChangeManipulator. Also took the opportunity to convert all Http404 exceptions to use proper exception raising syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:09:24 +00:00 |
Adrian Holovaty
|
b4a67359a3
|
newforms: Abstracted common code in Form as_table(), as_ul() and as_p() into Form._html_output(). It's slightly obscure but saves on a lot of redundancy and code bloat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:59:07 +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
|
3d1ceab1aa
|
newforms: Same fix as [4174], except for Form.as_table()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:10:31 +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
|
88f1dd31b7
|
newforms: Small potential bugfix in Form.as_ul() -- called unicode() on BoundField rather than str()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:45:22 +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
|
558e07a9bc
|
newforms: Simplified BoundField._errors()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:19:01 +00:00 |
Adrian Holovaty
|
9a02d668c1
|
Small tweak to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 04:59:36 +00:00 |
Adrian Holovaty
|
b6a7afd4bd
|
Changed Flup (FastCGI) backend to set debug=False, to turn off tracebacks in case of error. Thanks, Jared Kuolt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 03:04:22 +00:00 |
Russell Keith-Magee
|
939ee97d4d
|
Fixed #3106 -- Typo in sitemap ping_google method. Thanks, Bastian Kleineidam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 00:02:02 +00:00 |
Adrian Holovaty
|
625ae4ef93
|
Added preliminary stub for docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 17:36:48 +00:00 |
Adrian Holovaty
|
e5de9997e6
|
Fixed #3068 -- Fixed ReST error in docs/settings.txt. Thanks, Antonio Cavedoni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 06:43:46 +00:00 |
Adrian Holovaty
|
e6d19257ba
|
Fixed #3095 -- Added translation strings to newforms. Thanks for the patch, Honza Král
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 06:37:32 +00:00 |
Adrian Holovaty
|
c7345f4e0f
|
Fixed bug in admin with raw_id_admin -- change list in popup didn't append 'pop' link to the 'total' link. Thanks for reporting, patrickk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 06:23:59 +00:00 |
Adrian Holovaty
|
311fadeee0
|
Added django.contrib.formtools, including the forced-preview application
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 20:51:25 +00:00 |
Adrian Holovaty
|
6c0219cf72
|
newforms: Added __unicode__() methods wherever there were __str__() methods, and changed the __str__() methods to delegate to __unicode__().encode(settings.DEFAULT_CHARSET)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 20:08:27 +00:00 |
Adrian Holovaty
|
a794acbd7a
|
newforms: Removed DEFAULT_ENCODING import from fields.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 19:55:51 +00:00 |
Adrian Holovaty
|
be217bce53
|
Template system now supports variables whose str() returns a Unicode object with non-ascii characters. Thanks, gabor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 19:48:46 +00:00 |
Adrian Holovaty
|
460ccfc045
|
newforms: Changed BoundField form, field and name attributes to remove leading underscore to imply that they can be accessed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 18:48:49 +00:00 |
Russell Keith-Magee
|
8925843d7e
|
Fixed #3085 -- Typo in testing documentation. Thanks, Lachlan Cannon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-01 07:07:18 +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 |
Adrian Holovaty
|
89d1270e51
|
newforms: Added some more documentation to unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 17:48:54 +00:00 |
Adrian Holovaty
|
e130031fd2
|
Fixed #3082 -- newforms: Changed Form as_table() and as_ul() not to display verbose names for hidden fields, and to add field-name prefix to error messages to avoid user confusion. Also added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 17:07:40 +00:00 |
Adrian Holovaty
|
4dca65cdfc
|
newforms: Added BoundField.as_hidden()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 03:58:25 +00:00 |
Adrian Holovaty
|
d506b90163
|
Fixed #2924 -- Development server no longer spins on an empty form post. Bug caused by [3805]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 22:51:24 +00:00 |
Adrian Holovaty
|
61c93842f4
|
newforms: Added BoundField.data property
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 21:48:58 +00:00 |
Adrian Holovaty
|
4a3ad338d6
|
newforms: Added Widget.value_from_datadict hook, which allows a Widget to define how to convert its post data dictionary to a value. Implemented it for CheckboxSelectMultiple and updated unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 17:00:34 +00:00 |
Adrian Holovaty
|
a1cd3c9f52
|
Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell strite
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 16:44:10 +00:00 |
Adrian Holovaty
|
e6babbfe5f
|
newforms: Added docstring to Widget.build_attrs()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:18:56 +00:00 |
Adrian Holovaty
|
4db61fb406
|
Fixed #3078 -- newforms: Added HTML escaping to label_tag() calls. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:14:03 +00:00 |
Adrian Holovaty
|
8aae90c0e5
|
newforms: Implemented CheckboxSelectMultiple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:02:26 +00:00 |