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
|
c770803f72
|
Added SortedDict.value_for_index() method in django.utils.datastructures
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-21 00:06:55 +00:00 |
Adrian Holovaty
|
93eebd95cb
|
newforms: Moved flatatt function from widgets.py to util.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 20:33:23 +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
|
8f8b77bb55
|
Fixed #3321 -- Fixed typo in docs/testing.txt (which still needs to be proofread). Thanks, russblau@imapmail.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 17:34:35 +00:00 |
Adrian Holovaty
|
230b746f6c
|
Fixed #3303 -- Cleaned some newforms clean() method implementations. Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 17:31:45 +00:00 |
Adrian Holovaty
|
5e8c1a6c47
|
Fixed #3337 -- Changed newforms Field subclasses to use super(). Thanks for the patch, Dirk Datzert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 17:25:42 +00:00 |
Adrian Holovaty
|
51a21bcbc3
|
Changed one link in docs/url_dispatch.txt to use a relative link, as an experiment to see whether it'll work
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-19 17:21:04 +00:00 |
Adrian Holovaty
|
bc52fdc446
|
Fixed #3317 -- Fixed typos in docs/testing.txt. Thanks for the patch, Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-19 03:18:36 +00:00 |
Adrian Holovaty
|
8a3fe9d937
|
Fixed #3318 -- Fixed out-of-date info in docs/contributing.txt. Thanks for the patch, Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-19 03:16:54 +00:00 |
Adrian Holovaty
|
e7546eb275
|
Fixed a couple of typos in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-17 21:35:22 +00:00 |
Jacob Kaplan-Moss
|
2926fb238d
|
Added a description of our new ticket workflow to the contributing doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-17 20:07:49 +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 |
Jacob Kaplan-Moss
|
43193c1821
|
Fixed #3287: method columns in the admin changelist can now have a {{{boolean}}} attribute that uses the clever little checkmark icons instead of the ugly "True" or "False" strings. Thanks for the patch, xian@mintchaos.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-12 19:40:06 +00:00 |
Jacob Kaplan-Moss
|
c1b11091e7
|
Fixed #3290: DummyCache now conforms to the BaseCache interface correctly. Thanks, Ned Batchelder.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-12 15:16:55 +00:00 |
Jacob Kaplan-Moss
|
b118b28bac
|
Fixed #1717: ContentType.objects.get_for_manager() is now cached for a small performance gain when dealing with content-types regularly. Thanks, Dave St.Germain.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-12 15:15:05 +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
|
963ccd7cb4
|
Fixed #3267 -- newforms: Changed database TextField to render as Textarea in form_for_model() forms. Thanks for the patch, Philipp Keller
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 23:34:37 +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
|
2144a2c23f
|
Fixed #3269 -- Fixed typo in admin change_password.html template. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 22:34:37 +00:00 |
Jacob Kaplan-Moss
|
3f6fd5dfd1
|
Fixed #3277 - fixed a couple of typoes in docs/testing.txt. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 19:55:44 +00:00 |
Adrian Holovaty
|
78b89ff118
|
Fixed #3232 -- newforms: Added save_instance(), which saves a given bound form's clean_data into a given model instance with the same field names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:49:47 +00:00 |
Adrian Holovaty
|
d08112a6a7
|
newforms: Changed model auto-Form generation so that create() and apply_changes() are now both called save() -- for the purposes of simplicity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:22:48 +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
|
54b8277ffb
|
newforms: Fixed Unicode issue on Python 2.3 when a BoundField's __unicode__() included non-ASCII characters. Thanks for reporting the error, Johannes Froehlich
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 03:37:22 +00:00 |
Jacob Kaplan-Moss
|
f6390e8983
|
Fixed #1477: URLFields now accept a maxlength parameter. Thanks, Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-08 20:28:31 +00:00 |
Adrian Holovaty
|
0421b2597f
|
Fixed #3252 -- Fixed bugs in model_forms unit tests, related to recent newforms clean_data change. Thanks for the patch, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-08 18:06:22 +00:00 |
Russell Keith-Magee
|
3b4d6b4dc1
|
Fixed #3229 -- Fixed reference in install.txt. Thanks again, deepfall@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-06 00:08:55 +00:00 |
Adrian Holovaty
|
6ee9aeb0d6
|
Added note to docs/newforms.txt that points out ValidationError is a different class than previously
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 22:15:46 +00:00 |
Adrian Holovaty
|
9cb85eb370
|
Fixed #3236 -- Fixed some typos in docs/newforms.txt. Thanks, christoffer.carlborg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 20:14:26 +00:00 |
Russell Keith-Magee
|
8a8d05a318
|
Fixed #3229 -- Fixed typo in numbering in install.txt. Thanks, deepfall@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 12:32:55 +00:00 |
Adrian Holovaty
|
9d29892f56
|
Fixed ReST error in docs/newforms.txt from [4288]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 05:22:36 +00:00 |
Adrian Holovaty
|
84b673e9b1
|
Added a lot more to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 05:21:39 +00:00 |
Adrian Holovaty
|
13184efb0f
|
More additions to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 00:13:36 +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
|
61ede43202
|
Added first part of 'Using forms to validate data' section to docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-04 06:52:50 +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
|
ddb9b7d57a
|
Fixed #2473 -- Added special case for '__in=[]' (empty set) queries, because 'WHERE attr IN ()' is invalid SQL on many backends. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-04 04:00:16 +00:00 |
Jacob Kaplan-Moss
|
295f4c9fad
|
Fixed #3225: fixed a typo on docs/middleware.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 22:40:06 +00:00 |
Jacob Kaplan-Moss
|
023b863251
|
Oops -- reverted accidentally commited material from [4280]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 22:38:51 +00:00 |
Jacob Kaplan-Moss
|
da9affa8f8
|
Fixed #3226: removed some pre-magic-removal-isms in settings docs. Thanks, ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 22:37:05 +00:00 |
Russell Keith-Magee
|
3d38e5d840
|
Fixed #3223 -- Fixed typo in model API docs. Thanks, David van Mosselbeen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 14:29:21 +00:00 |
Russell Keith-Magee
|
e1c6e987d0
|
Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 14:16:58 +00:00 |
Russell Keith-Magee
|
c3f891210a
|
Fixes #3176, #3004 -- Added an argument to the floatfilter to allow users to specify precision of floats, Thanks, Eric Floehr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 05:29:34 +00:00 |
Russell Keith-Magee
|
9e0c5d1ecd
|
Fixes #3217 -- Added regression tests for options on the Admin metaclass. Includes some tests that are commented out, as they are known failures. Thanks, Robert Myers (who has promised to fix the rest of the tests).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 04:14:17 +00:00 |