Malcolm Tredinnick
193a83ca50
Added a new form test that I forgot to commit in [5348]. Refs #3718 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:47:47 +00:00
Malcolm Tredinnick
aae36cfc8e
Fixed #4355 -- Clarified a confusing example in the use of the url template
...
tag. Based on a patch from Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:43:32 +00:00
Malcolm Tredinnick
c1efc3cd9f
Fixed #4353 -- Fixed a typo in newforms documentation. I can't believe the
...
documentation editor didn't spot this. Thanks, zendak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:22:55 +00:00
Malcolm Tredinnick
c0c9534697
Fixed #4351 -- Attempted to make it easier for readers to see the difference
...
between null and blank if they are reading from top to bottom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:17:38 +00:00
Malcolm Tredinnick
611585665a
Fixed #4377 -- Small tweak to the German translation. Thanks, Frank Tegtmeyer.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:07:06 +00:00
Malcolm Tredinnick
8d3b587012
Fixed #4383 -- Updated Catalan translation. Thanks, Marc Fargas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:05:11 +00:00
Malcolm Tredinnick
a901b44c15
Fixed #3718 -- Exposed form errors to cleaning methods as soon as they are
...
available. Patch from Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:02:17 +00:00
Malcolm Tredinnick
1c42c7cade
Fixed #4297 -- Made form errors available to sub-classes. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 08:53:22 +00:00
Malcolm Tredinnick
198127a0f2
Fixed #4390 , #4385 -- Made it clear that cleaned_data wasn't being assigned to
...
twice without reason. Also make sure that if field specific clean functions
fail, the form-wide field cleaning is removed from cleaned_data.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 08:47:15 +00:00
Malcolm Tredinnick
dfdf7bdc5e
Fixed #4378 -- Fixed a broken format string.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-24 12:28:53 +00:00
Jacob Kaplan-Moss
1e70426619
Fixed #3397 (again): admin_order_field is now displayed correctly in the admin views. Thanks, kent37@tds.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-22 16:56:53 +00:00
Malcolm Tredinnick
9eada8ad62
Fixed #4357 -- Removed a type conversion that was only introduced in
...
MySQLdb-1.2.1 (and was introduced to Django in [5302]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-22 04:31:19 +00:00
Malcolm Tredinnick
d15809c3cd
Removed some cruft left over from fixing problems in the move to DecimalField
...
([5302]).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 23:26:36 +00:00
Adrian Holovaty
35cc9d9b09
Added 'New in Django development version' notes to docs/model-api.txt regarding DecimalField and FloatField (see [5302])
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 20:45:33 +00:00
Malcolm Tredinnick
4c53116144
Fixed #4338 -- Added pop() method to SessionWrapper. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 04:03:53 +00:00
Malcolm Tredinnick
fd21702b2e
Fixed #4347 -- Updated Catalan translation. Thanks, Marc Fargas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:55:24 +00:00
Malcolm Tredinnick
20ba237a30
Fixed #3673 -- Fixed format string errors in Telugu translation. Thanks
...
pavithran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:51:37 +00:00
Malcolm Tredinnick
e71240d60f
Fixed #4344 -- Trivial typo fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:48:52 +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
Adrian Holovaty
03966f077b
Fixed #4348 -- Updated Google sitemap ping code. Thanks, marijn
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:47:18 +00:00
Adrian Holovaty
744d06528e
Added small note to docs/newforms.txt 'Complex template output' section
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:43:51 +00:00
Adrian Holovaty
1bf43df33d
Edited docs/newforms.txt changes from [5294] and [5295]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:39:32 +00:00
Russell Keith-Magee
edc0fcdf7c
Moved markup tests into their contrib directory.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 04:08:14 +00:00
Russell Keith-Magee
c9aa4c71ac
Modified the django system test script to search for tests in the contrib apps.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 03:51:21 +00:00
Russell Keith-Magee
d43522b077
Modified the example views in newforms.txt to include a HttpResponseRedirect (as per best practice), and remove a duplicated form instantiation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 02:18:22 +00:00
Malcolm Tredinnick
0f424f5084
Fixed #4232 -- Added example usages to the newforms documentation. Thanks, Joe
...
Heck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 19:13:39 +00:00
Malcolm Tredinnick
d8db013eea
Fixed #4330 -- Fixed typo when retrieving field names. Patch from Marc Fargas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:54:35 +00:00
Malcolm Tredinnick
7e975bb636
Fixed #4327 -- Fixed silly typo in code example. Pointed out by
...
jshaffer2112@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:51:37 +00:00
Malcolm Tredinnick
534c0d8442
Fixed #4316 -- Added docstring and tests for django.newforms.utils.flatatt().
...
Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:49:35 +00:00
Malcolm Tredinnick
5ab9c3ac82
Fixed #4334 -- Fixed typo in model-api.txt. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:35:42 +00:00
Malcolm Tredinnick
9ed4217a57
Fixed #4337 -- Added pop() method to QueryDict. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:34:00 +00:00
Malcolm Tredinnick
ce9aca5823
Fixed #4343 -- Fixed a couple of format errors in the Argentinean Spanish
...
translation. Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 17:59:42 +00:00
Malcolm Tredinnick
5967e63bd8
Fixed #4308 -- Updated Russian translation. Thanks, Vasiliy Stavenko.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 17:57:43 +00:00
Adrian Holovaty
cef77fcf19
Added 'http://' to python.org link in docs/install.txt, so it will be auto-linked when converted to HTML
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 04:17:54 +00:00
Adrian Holovaty
60acd7c71c
Fixed small grammar error in docs/model-api.txt from [5250]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-18 16:40:27 +00:00
Adrian Holovaty
b723a3e9dd
Simplified a coding style example in docs/contributing.txt from [5264]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:36:31 +00:00
Adrian Holovaty
e168f79365
Added some Django-specific style guidelines to docs/contributing.txt, which I've been meaning to do for a while
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:34:43 +00:00
Adrian Holovaty
4868af8a57
Fixed #4318 -- Fixed unused imports and other various style tweaks in newforms. Thanks, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:20:35 +00:00
Adrian Holovaty
6f44cffc77
Fixed #4303 -- Fixed typos in docs/db-api.txt. Thanks, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:35:53 +00:00
Adrian Holovaty
72e824ad14
Fixed #4303 -- Fixed typo in docs/db-api.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:06:52 +00:00
Malcolm Tredinnick
7969c1bb65
Fixed #3664 -- Documented that get_absolute_url() and item_link() (in
...
syndication) links are expected to be strings that can be used in URLs without
further quoting or encoding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 18:03:00 +00:00
Russell Keith-Magee
a10e73ac30
Fixed some documentation strings in django-admin, and updated the bash completion script.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 11:39:00 +00:00
Malcolm Tredinnick
b996e214c0
Changed the fix from [5231] so that the backwards-incompatibility is made more
...
obvious and everything still has nice names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 16:24:51 +00:00
Russell Keith-Magee
41fbd35613
Added check to prevent sequence reset if no fixtures are loaded.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 14:24:30 +00:00
Russell Keith-Magee
9350945963
Cleaned up the ordering of test data from [5232].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 14:21:00 +00:00
Russell Keith-Magee
c38a93e4d9
Fixed #4288 -- Modified serializers to pay attention to the to_field attribute on ForeignKeys. Thanks to Sandro Dentella for the report and the helpful test case.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 14:14:49 +00:00
Malcolm Tredinnick
f15036ae6d
Renamed form-specific cleaning methods to be do_clean_*, rather than clean_*.
...
This avoids a name clash that would occur when you had a form field called
"data" (because clean_data is already a dictionary on the Form class).
Backwards incompatible change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 14:02:36 +00:00
Russell Keith-Magee
c89dc9cfa0
Fixed some incorrect reporting of error messages in assertRedirects, and added test cases to validate.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 11:07:14 +00:00
Malcolm Tredinnick
5152b55b38
Fixed #4283 -- Added Bulgarian translation. Thanks Jordan Dimov.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 08:12:03 +00:00
Adrian Holovaty
70703a6b71
Fixed #3780 -- Added first stab at 'Built-in Field classes' section to docs/newforms.txt, with help from SmileyChris and Marc Fargas
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 05:32:35 +00:00