Gary Wilson Jr
212ee65be7
Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Malcolm Tredinnick
953badbea5
Merged Unicode branch into trunk (r4952:5608). This should be fully
...
backwards compatible for all practical purposes.
Fixed #2391 , #2489 , #2996 , #3322 , #3344 , #3370 , #3406 , #3432 , #3454 , #3492 , #3582 , #3690 , #3878 , #3891 , #3937 , #4039 , #4141 , #4227 , #4286 , #4291 , #4300 , #4452 , #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Malcolm Tredinnick
92c35a0617
Fixed #2365 , #3324 -- Renamed FloatField to DecimalField and changed the code
...
to return Decimal instances in Python for this field. Backwards incompatible
change.
Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).
Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.
Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
Malcolm Tredinnick
ec577d88ea
Fixed up some omissions and one mysteriously documented, yet non-existent field
...
in the validator documentation. Patch from alang@bright-green.com . Refs #2266 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-27 15:06:45 +00:00
Adrian Holovaty
39aa40d108
Fixed #4133 -- Fixed broken links in docs. Thanks, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-24 05:58:03 +00:00
Russell Keith-Magee
f271e0896b
Fixed #2841 -- Clarified documentation on procedure for field validation. Thanks, dave@avaragado.org.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 01:25:01 +00:00
Malcolm Tredinnick
5295f54b3c
Fixed #1049 -- Documented the need to implement flatten_data() in some cases for custom
...
ChangeManipulator replacements. Thanks, Michael Radziej.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 12:40:03 +00:00
Jacob Kaplan-Moss
cef2239086
Fixed #2104 : allow somewhat nicer error messages in RequiredIfOtherFieldEquals validator. Thanks, Steven Armstrong
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-25 17:16:38 +00:00
Malcolm Tredinnick
ffa0d27462
Fixed #3005 -- Applied trivial docs patch for "oldforms" use of do_html2python.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-13 05:02:47 +00:00
Adrian Holovaty
8e54c49784
Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:08:47 +00:00
Adrian Holovaty
706fcec164
Copied django.forms to django.oldforms and changed all code to reference django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 18:00:50 +00:00
Adrian Holovaty
a84404c190
Formatting fixes from the past round of checkins
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 19:07:27 +00:00
Jacob Kaplan-Moss
3a0733e12c
Fixed #2364 : added NumberIsInRange validator. Thanks, Matt McClanahan.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 04:29:07 +00:00
Malcolm Tredinnick
025980be53
Fixed #2941 -- Fixed a typo pointed out by jeff@nokrev.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:59:30 +00:00
Malcolm Tredinnick
28ff6ecbda
Fixed #2931 -- Use request.method == 'POST' where appropriate in the examples.
...
Thanks, David Schein.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-23 07:51:29 +00:00
Malcolm Tredinnick
fa8a1d252a
Fixed #2845 -- Corrected a few spelling errors in the docs and changed a
...
couple of correctly spelt words to their North American counterparts for
consistency. Thanks, treborhudson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29 02:30:42 +00:00
Adrian Holovaty
8920f65acd
Formatting change to docs/forms.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:43:13 +00:00
Adrian Holovaty
a0b78df2bb
Proofread changes to docs/forms.txt from [3792]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:42:19 +00:00
Malcolm Tredinnick
4ca66711b5
Documented the always_test attribute for validator functions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 12:46:35 +00:00
Malcolm Tredinnick
e947fb2111
Fixed #2769 -- Applied some ReST formatting fixes. Thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-21 13:30:01 +00:00
Russell Keith-Magee
45399b4b13
Updated documentation for ChangeManipulators to reflect use of flatten_data() rather than __dict__ to populate form data.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-14 13:31:50 +00:00
Adrian Holovaty
2ef762f8f4
Fixed ReST error in docs/forms.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:42:44 +00:00
Adrian Holovaty
e5b51925ac
Small clarifications to docs/forms.txt change from [3466]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:30:36 +00:00
Jacob Kaplan-Moss
09912cce70
Fixed #1653 -- added some documentation for FileFields/ImageFields. Thanks, Asmodai.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:59:35 +00:00
Adrian Holovaty
930929e2b9
Fixed small typo in docs/forms.txt. Thanks, Antonio Cavedoni
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06 14:23:37 +00:00
Malcolm Tredinnick
97fedcc031
Fixed #2143 -- Changed a few places where the pre-magic-removal-merge syntax
...
was still being used in the docs. Thanks to mssnlayam@yahoo.com for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:31:34 +00:00
Adrian Holovaty
f69cf70ed8
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty
46120b86e3
Fixed #1211 -- Fixed tiny typo in docs/forms.txt. Thanks, paolo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 15:01:16 +00:00
Adrian Holovaty
bfd5ce8c41
Fixed #1189 -- Fixed typo in docs/forms.txt 'Place' model example. Thanks, Brian Ray
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 18:08:22 +00:00
Adrian Holovaty
a180f638bb
Fixed #1111 -- Fixed bug in docs/forms.txt. Thanks, afarhham
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 16:27:53 +00:00
Adrian Holovaty
e1b2e48a3e
Fixed #876 -- Fixed typos in docs/forms.txt. Thanks, czhang
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 14:24:07 +00:00
Adrian Holovaty
17d54d1d9e
Fixed #808 -- Fixed typo in docs/forms.txt. Thanks, limodou
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:37:01 +00:00
Adrian Holovaty
f71f854628
Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:10:13 +00:00
Adrian Holovaty
33570454e3
Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:42:36 +00:00
Adrian Holovaty
25264c8604
Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 22:51:30 +00:00
Adrian Holovaty
fffe1d1472
Fixed #406 -- Fixed small typo in docs/forms.txt. Thanks, Tom Haddon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-23 14:31:08 +00:00
Adrian Holovaty
f6c4395329
Copy-edited docs from [303] and [304]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-25 17:18:39 +00:00
Jacob Kaplan-Moss
8bd30b01e4
Added formfields/manipulators docs; added a few notes to the FAQ
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-24 19:02:22 +00:00