Wilson Miner
21e86f2af2
Updated stylesheet link on the change password form.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 00:09:39 +00:00
Wilson Miner
902df97f36
Removed the hidden import rules in the contrib.admin stylesheets. Each individual stylesheet is now linked to explicitly from the template where it's used (in the extrastyle block), with the exception of widgets.css, which is imported by forms.css, but still available separately for reuse. Also moved the override stylesheets (IE and RTL) below the extrastyle block and all styles within the conditional comment which blocks CSS from IE5 and lower.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 00:08:48 +00:00
Malcolm Tredinnick
ec8150e78a
Fixed a bug introduced in r9422.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:49:15 +00:00
Brian Rosner
f63929dbe2
Fixed #9258 -- Use _default_manager in ForeignKeyRawIdWidget.label_for_value. Thanks nullie for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 02:20:00 +00:00
Malcolm Tredinnick
0349d83289
Fixed #6948 -- The join filter was escaping the literal value that was
...
passed in for the connector. This was contrary to what the documentation
for autoescaping said and to what every other filter does with literal
strings as arguments.
This is backwards incompatible for the situation of the literal string
containing one of the five special HTML characters: if you were writing
{{ foo|join:"&" }}, you now have to write {{ foo| join:"&" }}.
Previous behaviour was, as noted, a bug and contrary to what was
documented and expected.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 01:16:20 +00:00
Karen Tracey
bca14cd3c8
Fixed #9076 -- Changed BaseInlineFormSet to not override BaseModelFormSet's get_queryset method. BaseInlineFormSet's method did not include a couple of fixes/enhancements that were made to the parent's method, resulting in excessive queries (some of which can return bad data due to #9006 ) for admin pages with inlines.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 15:37:59 +00:00
Nicola Larosa
23657aaf16
Italian translation updated
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:15:15 +00:00
Malcolm Tredinnick
85ef4eb578
Fixed #9570 -- Updated Arabic translation from Ossama M. Khayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:12:28 +00:00
Malcolm Tredinnick
e31ed8f2b1
Fixed #9574 -- Hindi translation from Thejaswi Puthraya.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:11:34 +00:00
Ramiro Morales
577f09f9f4
Updated Argentinian spanish translations, refs #9506 and related commits.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 02:33:01 +00:00
Ian Kelly
43b03ba57d
Refs #9408 : Removed support for passing params as dicts in the oracle backend. Wasn't documented, didn't work, isn't necessary.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 00:54:16 +00:00
Ramiro Morales
72751c732f
Updated Argentinian spanish translation.
...
Port of [9325] from the 1.0.X branch to trunk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 20:19:07 +00:00
Brian Rosner
f751d5b713
Fixed #9498 -- Handle a formset correctly when the foreign key is not available (for now).
...
This case pops up with generic foreign key inlines after [9297]. Added tests
to handle future regressions with generic foreign key inlines in the admin.
Thanks markus and danielr for patches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:03:44 +00:00
Karen Tracey
dfa90aec1b
Fixed #9579 -- Properly handle apps running with (and specifically, loading templates from) a current working directory path that contains non-ASCII characters. Thanks for the report to gonzalodelgado and for advice on how to fix it to Daniel Pope.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 19:03:42 +00:00
Marc Fargas
5c4fcbb19b
Updated Catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 18:13:13 +00:00
Marc Fargas
0f973fcdf1
Updated Spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-13 18:12:29 +00:00
Jannis Leidel
6d6aa2e081
Updated German translation. Thanks bartTC and flosch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 23:28:33 +00:00
Karen Tracey
c7078ff0a2
Fixed #106 -- Refrain from generating popup window names that IE refuses to pop up. Thanks for the reports and initial patches nbstrite and jsmullyan.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 16:23:04 +00:00
Russell Keith-Magee
95d8c0619a
Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:22:05 +00:00
Russell Keith-Magee
a53ccc8297
Fixed #9369 -- Added QUERY_STRING info for PUT and DELETE requests in the test client. Thanks to david for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:20:32 +00:00
Russell Keith-Magee
ecc1ed4ce1
Fixed #8646 -- Modified test client to set a fully WSGI compliant environment. Thanks to Adam Lofts for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:19:37 +00:00
Karen Tracey
cb6a5886f6
Fixed #5079 -- Avoid converting Decimals to floats during save to the database.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 00:35:24 +00:00
Justin Bronn
1142dd430f
Fixed #9566 -- made GeoJSON regex more robust.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 17:21:43 +00:00
Karen Tracey
d82aaef844
Fixed #7064 : Made DemicmalField validation support max_digits equal to decimal_places.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 19:52:53 +00:00
Karen Tracey
8cdc53a265
Fixed #6035 -- Gave the SplitDateTimeField the proper default widget. Thanks dtulig.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 19:42:55 +00:00
Karen Tracey
6ed91234e3
Fixed #8910 -- Added force_unicode during admin log message creation to avoid triggering a Python 2.3 bug. Thanks for the report joshg and patch nfg.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 17:13:41 +00:00
Malcolm Tredinnick
7760ae754a
Fixed #9544 -- Updated Danish translation from Finn Gruwier Larsen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:31:21 +00:00
Malcolm Tredinnick
b69182fcc3
Added a couple of missed pieces from r9376. Refs #9542 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:24:51 +00:00
Marc Fargas
ec8435cefd
Closes #9537 , Updated Polish translation; Thanks Jarek Zgoda.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:23:44 +00:00
Malcolm Tredinnick
b4b705bee1
New Thai translation from Kowito Charoenratchatabhan and Kadesarin Sanjek.
...
Refs #9542 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-10 10:13:23 +00:00
Karen Tracey
c367e2869e
Fixed #9514 -- Made admin change_form template correctly recognize/report when a form has only a single error.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-09 18:51:28 +00:00
Karen Tracey
b81bc22ad2
Fixed #5748 -- Made floatformat filter round properly on all platforms and handle NaN input correctly on Windows. Also added tests for these cases. Thanks for the report and initial patch to SmileyChris and PJCrosier.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-08 01:44:46 +00:00
Jannis Leidel
cadbf66635
Updated German translation after r9363
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 21:36:01 +00:00
Karen Tracey
bcd63cbfb0
Fixed #6160 , #9111 -- Consistently apply conditional_escape to form errors and labels when outputing them as HTML.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 19:49:24 +00:00
Karen Tracey
04354e1afc
Fixed #9506 take 2 -- Marked the message properly for translation, in both places it appears in the source.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 16:44:42 +00:00
Karen Tracey
e40bd61ef7
Fixed #9506 -- Marked error string for translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 14:32:33 +00:00
Russell Keith-Magee
b2d2c570b7
Fixed #9011 -- Corrected handling of fixture files that contain errors to correctly report the broken fixture name. Thanks to jlrivitti@gmail.com for the report and initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 11:19:13 +00:00
Marc Fargas
82c89d0c26
Fixed #9526 , Updated Arabic translation; Thanks Ossama M. Khayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:43:56 +00:00
Marc Fargas
8ae06470df
Fixed #9513 , Updated Polish translation; Thanks Jarek Zgoda.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:43:32 +00:00
Marc Fargas
73b458232e
Refs #9512 , Updated French translation. Thanks David Larlet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:32:57 +00:00
Marc Fargas
e972589f99
Fixed #9419 , Typo in Russian translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:21:06 +00:00
Marc Fargas
432cf20fd1
Fixes #9511 , Updated Hebrew translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 09:16:11 +00:00
Marc Fargas
916d61d8de
Updated Spanish and Catalan translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-06 08:55:39 +00:00
Karen Tracey
21fa517248
Fixed #9218 -- Simplified the fix from #9039 and added tests to ensure this case doesn't break again (and that the simplification didn't break anything).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 19:47:44 +00:00
Justin Bronn
e600364f7d
Fixed `resolve_columns` so that pagination works again on Oracle GeoQuerySets; properly set svn:ignore on `sitemaps` subdir.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 18:15:48 +00:00
Justin Bronn
b401d44a9f
Fixed #9364 -- now uses the appropriate database table for inherited `GeometryField`s; now uses the `SpatialBackend` booleans in tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-05 17:51:11 +00:00
Karen Tracey
1515b13d1a
Fixed #9418 -- When saving a model form, defer saving of file-type fields until after other fields, so that callable upload_to methods can use data from the other fields. Thanks to Bernd Schlapsi for the report and initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-04 19:48:35 +00:00
Brian Rosner
83af0b8ff3
Fixed #9494 -- Ensure the foreign key in an inline formset is always present on the forms. Thanks Fugazi for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 22:25:41 +00:00
Jannis Leidel
c8e68fabbc
Removed unnecessary strings from German translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 13:08:17 +00:00
Jannis Leidel
6df10c5dea
Updated German translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 13:00:09 +00:00
Wilson Miner
ac0808f70b
Consolidated contrib.admin styles by rolling layout.css and global.css directly into base.css.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 23:52:31 +00:00
Wilson Miner
6b82c386f6
Applied contrib.admin IE CSS patches to IE6 and 7, and added simple hacks to filter some rules to both and some only to IE6.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 23:44:24 +00:00
Wilson Miner
50535505a9
Added IE conditional comments to contrib.admin base template to block CSS from IE5 and lower and serve a patch to IE6 with IE conditional comments. Removed dependency on CSS hacks and empty null.css file.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 23:01:38 +00:00
Wilson Miner
3028e85222
Reformatted contrib.admin CSS to use multi-line selector format so changes can be tracked more easily in version control.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 22:19:21 +00:00
Brian Rosner
0ea15f5650
Fixed #8882 -- When a foreign key is among the unique_together fields in an inline formset properly handle it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-31 22:07:05 +00:00
Nicola Larosa
fe54f06a61
Italian translation update
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-30 07:08:21 +00:00
Brian Rosner
524a44e20b
Fixed #9462 -- Set the instance in an inline formset correctly so that None does not get passed through to the queryset. Thanks tobias and copelco for the ticket.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 20:01:03 +00:00
Karen Tracey
2026934600
Fixed #8966 -- Changed is_safe for length_is filter to False, since its return value is a boolean, not a string.
...
Thanks Thomas Steinacher and carljm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 19:00:49 +00:00
Justin Bronn
243dea4cd6
Fixed `MySQLGeoField` to create spatial indexes again.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-28 00:39:23 +00:00
Justin Bronn
0b6d214f48
Fixed #9448 -- `Layer` objects now carry a reference to their parent `DataSource`. Thanks, Matthew D. Hancher for the bug report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 22:24:21 +00:00
Justin Bronn
cbeea83107
Fixed #9391 -- `AdminSite` and `ModelAdmin` now exposed in `django.contrib.gis.admin` for API consistency and convenience.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 18:01:15 +00:00
Justin Bronn
3784c7fac6
Fixed `ogrinspect` management commannd -- no longer try to pass the global `verbosity` option where it shouldn't go. Refs r9110.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-25 19:16:45 +00:00
Karen Tracey
03070a9955
Fixed #7179 -- Changed breadcrumbs on the add page so that a link to the change view is not included when the user doesn't have permission for that view. Also added tests to ensure the link is not there when it shouldn't be, and there when it should be. Thanks for the report & patch alen__ribic.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 19:14:24 +00:00
Malcolm Tredinnick
3dfbaae32b
Fixed #9307 -- Added the ability to pickle the Query class used by the Oracle
...
backend.
This allows Querysets to be cached for Oracle and should provide a model for
adding pickling support to other (external) database backends that need a
custom Query class.
Thanks to Justin Bronn for some assistance with this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:36:22 +00:00
Malcolm Tredinnick
2f87035aac
Fixed #9339 -- Small update to the Simplified Chinese translation from lidaobing.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:36:47 +00:00
Malcolm Tredinnick
3bdde9ef9a
Fixed #9372 -- Updated Slovakian translation from Marian Andre.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:35:31 +00:00
Malcolm Tredinnick
92a6c14291
Fixed #9384 -- Fixed a couple of typos. Thanks, Thomas Güttler and romke.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 07:14:30 +00:00
Malcolm Tredinnick
9319dc496c
Fixed #9406 -- Ensure that each database column is only represented once in the
...
"ORDER BY" clause of an SQL statement.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 06:09:47 +00:00
Malcolm Tredinnick
e3aa9a2828
Fixed #9383 -- Don't open a network connection for sending email if there's
...
nothing to send. Saves a bit of time when, for example, processing 500-error
emails with no ADMINs configured. Based on a patch from Jesse Young.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 04:38:43 +00:00
Malcolm Tredinnick
62c3a7a625
Fixed #9410 -- I did not spell Portuguese correctly 18 months ago. Fixed now.
...
Thanks, kimus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 04:37:51 +00:00
Karen Tracey
30241385d5
Fixed #9252 -- Moved the try/except protecting against incorrect lookup params to where the error is now raised, and added a test for this case.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-22 23:09:35 +00:00
Brian Rosner
5e5af8a8aa
Display non_field_errors of inline forms in the admin. This was a presentation bug.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 20:25:45 +00:00
Karen Tracey
ae43d11838
Fixed #3096 -- Make admin list_filters respect limit_choices_to.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 19:03:21 +00:00
Karen Tracey
49ef21d9ea
Fixed #9039 -- Don't perform unique checks on NULL values, since NULL != NULL in SQL.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 14:04:24 +00:00
Justin Bronn
a14b98e207
Fixed #9361 -- thanks to Guillaume for the bug report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-21 04:32:02 +00:00
Ian Kelly
934025e58d
Fixed #9136 : Do slicing in Oracle with rownum instead of row_number() for a speed improvement. Thanks, Guillaume Taglang.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-18 00:00:20 +00:00
Karen Tracey
9feebb10f9
Fixed #8110 -- Allow for AdminLogNode's render to be called more than once.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-17 22:43:36 +00:00
Ian Kelly
51d101b573
Fixed Oracle introspection mapping of DATE columns, and added an entry for Oracle 10g native float columns.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-13 19:38:18 +00:00
Jacob Kaplan-Moss
b21ea0a836
More be-nice-to-the-buildbot: be better about cleaning up files created by the cache/session tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-10 21:41:12 +00:00
Ian Kelly
9a72913edd
Fixed .distinct() not working with slicing in Oracle, due to the
...
row numbers necessarily being distinct.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-10 17:15:58 +00:00
Karen Tracey
05d695908c
Fixed #9053 -- Allowed for sorting of callable and ModelAdmin methods specified in list_display (added in r8352). Previously attempting to sort on the former would raise an exception and the latter simply didn't sort. Also added tests for this function. Thanks rgl and jenan.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 14:47:01 +00:00
Malcolm Tredinnick
7e7a370e20
Fixed #9319 -- Fixed a crash when using the same model field in multiple
...
unique_together constraints.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 10:09:44 +00:00
Malcolm Tredinnick
559aca7d78
A queryset that has had ordering removed (order_by()) can have ordering added
...
again later (order_by('foo')). Or, at least, it can now. Thanks to Ilya
Novoselov for diagnosing the problem here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 09:45:27 +00:00
Malcolm Tredinnick
44f228fd61
Fixed #6748 -- When printing the repr() of querysets, don't load or display
...
more than 20 objects.
This means that accidentally executing HugeStoryArchive.objects.all() at the
interactive prompt (or in the debug template) won't try to load all 4,233,010
stories into memory and print them out. That would previously cause resource
starvation and other "interesting" crashes.
If you really, really want the previous behaviour (e.g. in a doctest that
prints more than 20 items), display "list(qs)" instead of just "qs".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 08:38:33 +00:00
Malcolm Tredinnick
268ef594ac
Applying a limit to a queryset that already had an upper limit of 0 wasn't
...
working properly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-08 08:37:35 +00:00
Malcolm Tredinnick
70b6c4c015
Fixed #9233 -- Allow date and message-id headers to be passed in manually in
...
email messages. Previously we were creating duplicate headers, which was bad.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 12:20:01 +00:00
Malcolm Tredinnick
2ae36375fc
Fixed #9224 -- Prevent a crash when certain query strings are sent using
...
modpython.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 10:39:16 +00:00
Malcolm Tredinnick
cd8eeaacf5
Fixed #5888 -- Added methods to the test client to support HEAD, PUT, DELETE
...
and OPTIONS support. Thanks Scott Barr and Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 09:23:40 +00:00
Malcolm Tredinnick
30b568226f
Fixed #9199 -- We were erroneously only prepending "www" to the domain if we
...
also needed to append a slash (when PREPEND_WWW=True).
Based on a patch and tests from gonz. Thanks.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 08:22:50 +00:00
Malcolm Tredinnick
8fb1459b52
Added some better error reporting and path handling when creating template paths.
...
We now raise UnicodeDecodeError for non-UTF-8 bytestrings (thanks to Daniel
Pope for diagnosing this was being swallowed by ValueError) and allow UTF-8
bytestrings as template directories.
Refs #8965 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 06:34:54 +00:00
Malcolm Tredinnick
fb62bcc69e
Fixed #8321 -- Change django.contrib.auth.models to use django.utils.hashcompat
...
for consistency with other code. Thanks, magneto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 05:14:17 +00:00
Malcolm Tredinnick
c58c1f43cf
Fixed #5753 -- Allow createsuperuser to work in situations where there
...
might be a valid password database entry for the current user id.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 04:54:14 +00:00
Malcolm Tredinnick
e2b02eae10
Fixed #9305 -- Updated Georgian translation from David Avsajanishvili.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 04:19:11 +00:00
Karen Tracey
5d3b222a59
Fixed #9212 : Added code to check the xgettext version, and if it is lower than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 01:36:35 +00:00
Malcolm Tredinnick
2f0be0faae
Fixed #8660 -- Small database query optimisation in User.get_profile.
...
When calling User.get_profile(), we now tell the profile object about the
related User object right away. This can save a database lookup later if
something in the user profile object wants to refer to the user object.
Patch from Mike Malone.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 12:07:10 +00:00
Malcolm Tredinnick
40904d0404
Fixed #9068 -- Fixed a couple of typos in InsertQuery.clone(). Thanks, rush.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 11:55:52 +00:00
Malcolm Tredinnick
2f188334d3
Fixed #9283 -- Deliberately silence one deprecation warning raised by python 2.6.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 11:39:58 +00:00
Malcolm Tredinnick
e1b7211083
Fixed #9294 -- Removed a (harmless) double conversion to unicode in one form
...
widget. Patch from nkilday.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 08:51:14 +00:00
Malcolm Tredinnick
7cec38b076
Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.
...
Patch from Marc Garcia.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:59:04 +00:00
Malcolm Tredinnick
cff78c60ac
Fixed #8963 -- Use the require_POST decorator instead of doing things manually in one of the comment views. Thanks, zgoda.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:10:35 +00:00
Malcolm Tredinnick
645029accb
Fixed #9100 -- Added a missing CSS class to a submit button.
...
Thanks, mordyovits and thejaswi_puthraya.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:09:59 +00:00
Malcolm Tredinnick
8524089769
Add internationalisation support to the comment templates. Fixed #8868 , #8905
...
Thanks to zgoda for a patch that did most of the internationalisation part.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:09:21 +00:00
Malcolm Tredinnick
227a93b64f
Fixed #8803 -- Allow authenticated users without first_name/last_name values set to post comments.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:07:32 +00:00
Malcolm Tredinnick
16d0a615c4
Fixed #8869 -- Fixed comments templates to be well-formed XHTML.
...
Based on a patch from zgoda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:06:26 +00:00
Malcolm Tredinnick
18f13aeeab
Fixed #8879 -- Used ungettext instead of ngettext in the comments framework.
...
Patch from zgoda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:05:32 +00:00
Malcolm Tredinnick
cf34d1f687
Fixed #9141 -- Removed two templates from django.contrib.comments that were not being used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 05:04:56 +00:00
Russell Keith-Magee
8d98e70e42
Promoted --verbosity to be a top level option for all management commands. Also added -v as a consistent short form of --verbosity. This is mostly to save Malcolm's poor arthritic fingers.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-02 12:57:13 +00:00
James Bennett
8e608c2155
Update django.VERSION in trunk per previous discussion
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 17:50:44 +00:00
Malcolm Tredinnick
37ee86b7ee
Fixed another case of reverse URL resolving that wasn't working.
...
This is a similar situation to that fixed in r9087. We weren't merging
multiple levels of include() calls together correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 05:52:35 +00:00
Malcolm Tredinnick
ba59295068
Fixed #9221 -- Small optimisation to caching middleware handling.
...
In the slightly unusual case that CACHE_MIDDLEWARE_SECONDS is set to 0, don't
bother storing a copy in the local cache.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-30 03:58:09 +00:00
Nicola Larosa
e625920a47
Italian translation: one correction; thanks, Marco Beri.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 10:34:51 +00:00
Malcolm Tredinnick
baa960209f
Fixed Queryset.dates() in the presence of extra-select columns.
...
Any extra(select=...) columns can be ignored in the SQL for dates, since we are
only interested in extracting distinct date values. We were previously
including them by accident and it was generating incorrect SQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 04:36:10 +00:00
James Bennett
788e6c081b
Use correct m2m join table name in LatestCommentsFeed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 02:55:56 +00:00
James Bennett
cc72e64e19
Fixed #9203 : Restore correct ordering for LatestCommentsFeed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-28 02:50:09 +00:00
Malcolm Tredinnick
15b0158e39
Fixed #9038 -- Correctly handle URL patterns with the same name (or view name),
...
declared independently and that differ only by argument signatures.
Patch from Russell Keith-Magee.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27 06:14:11 +00:00
Malcolm Tredinnick
6c7cf34d69
Fixed #9171 -- Fixed a few places where we were assuming lists instead of
...
generic sequences in ModelForm structures. Patch from mrmachine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-27 05:57:10 +00:00
James Bennett
5563362c4c
Add some docstrings to the base classes for management commands. Refs #9170 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 06:03:24 +00:00
Malcolm Tredinnick
922aba3def
Fixed a missing variable initialisation deep in the Query bowels.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 00:31:22 +00:00
Karen Tracey
fd366a8531
Fixed #7582 : Removed checks that prevented null=True ForeignKey fields from being sortable in Admin. Post queryset-refactor there seems no reason to disallow this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21 16:57:26 +00:00
Karen Tracey
0ededc611f
Fixed 8984: Only include a "Documentation" link on change password and change password done pages if admin docs have been configured.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-21 16:15:09 +00:00
Wilson Miner
936b8ea11b
Added a generic "button" class to the admin styles to allow applying the standard admin button styles to arbitrary elements in the future. Should have no effect on existing code.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-20 22:33:24 +00:00
Karen Tracey
060919afa1
Fixed #9129 -- Restored a force_unicode that was lost when unicode changes were merged to newforms-admin. Thanks Ricardo & Ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18 17:10:16 +00:00
Malcolm Tredinnick
9931c9e132
Fixed #9125 -- When displaying errors for a form with only hidden fields, make sure the resulting XHTML is correct.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-18 07:16:08 +00:00
Russell Keith-Magee
eeb230aa1c
Fixed #9117 : Made the test client a new-style class. Thanks to Jan Oberst for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 11:32:11 +00:00
Malcolm Tredinnick
36f8b8d687
Fixed #9014 -- Check that we really are processing a POST before processing
...
POST data. Some nice debugging form aaron to track this down.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 09:02:25 +00:00
Malcolm Tredinnick
0aff292bcf
Changed a slightly suspicious usage of request.POST to request.method == 'POST'.
...
Refs #9014 (not the root cause of that bug, but discovered whilst people were
diagnosing it).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 08:59:55 +00:00
Malcolm Tredinnick
a10fcbdb8b
Fixed #9096 -- Fixed a slightly out-of-date comment.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 08:10:55 +00:00
Malcolm Tredinnick
e99cd48769
Fixed #9113 -- Improved exception message reporting when importing sqlite3 fails.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 07:23:17 +00:00
Malcolm Tredinnick
168c776889
Fixed #8859 -- Some improvements to the Mandarin Chinese translation. Thanks, zhe.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 06:59:24 +00:00
Malcolm Tredinnick
b0753878e5
Fixed #9018 -- Updated Georgian translation from David Avsajanishvili.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 06:50:56 +00:00
Malcolm Tredinnick
4dcaea8e37
Fixed #9017 -- Updated Danish translation from Finn Gruwier Larsen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 06:50:07 +00:00
Malcolm Tredinnick
47684a1f94
Fixed #6415 . Updated Icelandic translation from Jökull Sólberg Auðunsson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 06:41:29 +00:00
Adrian Holovaty
cc7b0f986a
Fixed #8409 -- The runserver now uses conditional GET for admin media files, instead of reloading the files off disk for every request. Thanks for reporting, andylowry
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 05:42:12 +00:00
Adrian Holovaty
26a9ac491c
Fixed #8573 -- Fixed bug in 'inspectdb' regarding case-sensitivity of field names. It was automatically lowercasing the column name to create the Field name, which was inaccurate in the case of column names that contained a capital letter. Thanks for reporting and detective work, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 05:12:53 +00:00
Adrian Holovaty
660180df30
Fixed #8574 -- Made Sitemap a new-style class
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-17 04:56:04 +00:00
Adrian Holovaty
8ec8e1a5e8
Fixed #8870 -- Changed django.contrib.comments templates to use lowercase 'post' for <form method> attributes, to be consistent with our other templates. Thanks, zgoda
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 06:15:26 +00:00
Adrian Holovaty
78fd5db4c5
Fixed #9016 -- Changed VERSION from 1.0.final to 1.0.post-release-SVN, which should suffice until we create a 1.0.x branch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 06:05:53 +00:00
Adrian Holovaty
2ccc716e7b
Changed the app-level links on the admin index page to include trailing slashes, to be consistent with the rest of the links
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 06:01:47 +00:00
Adrian Holovaty
af23d8d3b3
Fixed #9083 -- Improved get_admin_log template tag so that it doesn't run a separate SQL query for every record in the 'history' sidebar on the admin homepage. Thanks for the patch, santip
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:50:03 +00:00
Adrian Holovaty
883aa6b9c8
Fixed #9092 -- Improved validation of app/project names by startapp/startproject so that it doesn't allow names to start with a number.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:39:49 +00:00
Wilson Miner
f09f744f81
Fixed #9074 : Added overflow: hidden to the submit-row div to clear the floated contents and avoid collapsing when the Save button is all that's there.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 00:40:10 +00:00
Wilson Miner
b79cb53d76
Fixed #8917 -- Comments are now displayed in reverse order by submit_date in the admin. Thanks to arien for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 00:25:21 +00:00
Justin Bronn
96becf2458
Moved imports so that other tests may be imported without specifying Django settings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 18:06:02 +00:00
Justin Bronn
b04faa3511
Fixed #9008 -- now use the correct library path for loading the `WinDLL` instance of the GDAL library.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 17:25:17 +00:00
Russell Keith-Magee
24d3129edd
Fixed #8570 : Corrected some code that was using 8-space tabs for some reason. Thanks to Manuel Saelices for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 07:04:40 +00:00
Malcolm Tredinnick
cfcfc456e9
Fixed a typo so that cloning UpdateQuery objects won't fail mysteriously.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:02:06 +00:00
Malcolm Tredinnick
e47cc781d8
A bug from queryset-refactor days: although the Query class has "group_by" and
...
"having" attributes, only the former was included in the resulting SQL, meaning
subclasses had to completely duplicate Query.as_sql() if they were using any
kind of grouping filtering on the results.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:00:27 +00:00
Ian Kelly
0cd7fbec56
Fixed an incorrectly named DatabaseOperations method. It was causing non-Oracle backends to fail when running syncdb with tablespaces set.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 23:03:07 +00:00
Adrian Holovaty
32db67e6f9
Fixed #8957 -- Fixed incorrect error message when Admin prepopulated_fields refers to a field that does not exist. Thanks, charmless
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 06:06:04 +00:00
Adrian Holovaty
40cb11a554
Moved the bulk of the shortcut() function in django/views/defaults.py to a new module, django/contrib/contenttypes/views.py. As a result, django/views/defaults.py no longer relies on django.contrib.contenttypes. Of course, the shortcut() function is still available in the former module, for backwards compatibility. See the new FutureBackwardsIncompatibleChanges wiki page.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:56:34 +00:00
Adrian Holovaty
5cc93500e8
Fixed #8959 -- Removed redundant calls to the 'escape' template filter in the django.contrib.comments templates. Thanks, zgoda
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-10 05:14:59 +00:00
Justin Bronn
152b9ba717
Fixed #8881 by specifying the geometry column name; added the `geom_col_name` classmethod to `GeometryColumns` for Oracle and PostGIS.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:19:51 +00:00
Marc Fargas
ff22efef5d
Closes #8973 . Updated Telugu Translation. Thanks Thejaswi Puthraya.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 16:07:06 +00:00
Adrian Holovaty
640f198111
Fixed #8978 -- We now print a helpful error message for 'manage.py dbshell' if the client executable is not found. Previously we were displaying a traceback
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:18:06 +00:00
Adrian Holovaty
42a878cfea
db: Gave each DatabaseClient class an 'executable_name' attribute (e.g., 'psql' or 'mysql'), so that we can use it to make a more helpful error message. Refs #8978
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 02:13:58 +00:00
Adrian Holovaty
1bfed070c3
Fixed #7929 -- Removed some snippets of admin code that weren't doing anything, and tightened up a few more lines. Plus, an indentation fix. Thanks, julien
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-08 05:45:17 +00:00
Adrian Holovaty
6bdb7b9529
Fixed #8172 -- Improved a whole bunch of contrib templates (admin, databrowse, admindocs, etc.) to remove unnecessary 'escape' filters, given autoescaping. Also removed unnecessary {% if %} tags and shortened some {% if %}/{% else %} tags to use {% firstof %}. Thanks for the patch, benspaulding
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-08 05:19:28 +00:00
Matt Boersma
1b39622327
Fixed re-raising of ORA-01400 as an IntegrityError in a way that works on Python 2.3 and 2.4 as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-04 16:41:59 +00:00
James Bennett
42ef6557a9
Bump version number for Django 1.0 release
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 23:38:45 +00:00
Malcolm Tredinnick
96a417f91d
Fixed two XHTML errors pointed out by Jarek Zgoda. Refs #8855 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 22:46:39 +00:00
Malcolm Tredinnick
75528786a9
Fixed #8841 -- Fixed a case of ForeignKeys to models constructed with
...
inheritance.
This patch is uglier than it needs to be (see comment in patch) to ensure no
accidental bug is introduced just before 1.0. We'll clean it up later.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 22:45:33 +00:00
Malcolm Tredinnick
c949665678
Fixed #8856 -- Updated Latvian translation from Edgars Jēkabsons.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 22:22:37 +00:00
Aljosa Mohorovic
9d407fb5e8
updated croatian (hr) translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:29:14 +00:00
Malcolm Tredinnick
559c0da7c1
Fixed a small initialisation edge-case in the raw_id_fields section of admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 21:16:05 +00:00
Malcolm Tredinnick
db29f06409
Fixed #5900 -- Updated Traditional Chinese translation from Terry Huang .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:05:15 +00:00
Malcolm Tredinnick
a1e9b98c54
Fixed #8832 -- Position the error icons on the right of the screen in the admin
...
interface when using right-to-left languages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 19:51:20 +00:00
Malcolm Tredinnick
422ba9d2ae
Fixed #8844 -- Russian translation update from Grigory Fateyev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 18:47:22 +00:00
Malcolm Tredinnick
e1f1bda3c7
Fixed #8614 -- Typo fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 18:44:19 +00:00
Malcolm Tredinnick
d88688014f
Fixed #7588 -- Inherit fields from concrete ancestor classes via abstract base
...
classes. Based on a patch from emulbreh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 18:38:43 +00:00
Jannis Leidel
9a89d1eb9f
Closes #8842 - Updated German translation, thanks Florian Sening.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 18:05:43 +00:00
Malcolm Tredinnick
399abd7fe8
Changed the reverse() call for creating URLs to convert a "." in the reg-exp
...
pattern to a "." in the final output. This hides what is probably a bug in the
pattern (the user almost certainly should have written "\."), but it will avoid
a large number of "bug" reports about reverse().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 17:53:45 +00:00
Marc Fargas
c164305d7c
Closes #8836 , Updated Slovenian translation. Thanks Gasper Zejn.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 13:40:14 +00:00
Marc Fargas
eea68d9ff4
Close #8815 . Updated Arabic translation (again)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 12:52:51 +00:00
Marc Fargas
bb5e3a3b6d
Closes #8837 . Updated Finnish translation. Thanks Ville Säävuori.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 11:45:53 +00:00
Marc Fargas
760aaae749
Closes #8836 , Updated Slovenian translation. Thanks Gasper Zejn.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 11:41:33 +00:00
Marc Fargas
574fe75984
Closes #8834 , Updated Macedonian translation. Thanks Georgi Stanojevski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 11:41:03 +00:00
Marc Fargas
58c58cf1ca
Closes #8815 , Fix date/time formats for Arabic. Thanks Ossama M. Khayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 11:40:37 +00:00
Marc Fargas
116e17414b
Closes #8840 , Updated Norwegian translation; Thanks jonklo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 11:35:57 +00:00
Nicola Larosa
20147a33c7
Italian translation updated: string flow.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 08:52:59 +00:00
Jannis Leidel
7b3843ca7e
Updated German translation. Thanks to everyone in #django-de.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 08:18:54 +00:00
Marc Fargas
d1bfa02320
Closes #8831 , Updated Turkish translation, thanks Metin Amiroff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 07:25:29 +00:00
Marc Fargas
4b38af152d
Fixed #8815 -- Arabic translation update from okhayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 07:22:07 +00:00
Marc Fargas
57d874b207
Updated Estonian translation. Thanks Erik Allik.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 07:11:31 +00:00
Malcolm Tredinnick
1794446b28
Fixed #8828 -- Trimmed some trailing whitespace that might have been causing a
...
problem for Google AppEngine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 06:22:28 +00:00
Malcolm Tredinnick
fd78e89d1e
Fixed #8830 -- Updated the recently changed string for the Polish translation.
...
Thanks, Piotr Lewandowski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 06:14:01 +00:00
Malcolm Tredinnick
780f239fa7
Fixed #8825 -- Fixed a small error model field setup (on the model class) from
...
r8855. Patch from Christofer Bernander. Test based on one from cgrady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 05:53:50 +00:00
Malcolm Tredinnick
43f901e581
Updated the English language PO files to match the strings in the final release.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 05:42:08 +00:00
Malcolm Tredinnick
42393ff604
Fixed #8812 -- Fixed up the positioning of the "delete" link in the admin
...
interface for right-to-left languages (Hebrew, Arabic, etc). Patch from Jannis
Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:22:39 +00:00
Malcolm Tredinnick
1d1bfd24f8
Fixed #8824 -- Updated the single changed string in the Catalan translation.
...
Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:57:05 +00:00
Malcolm Tredinnick
2b06802f69
Fixed #8821 -- Spanish translation update (just the changed string from the
...
security update) from arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:56:54 +00:00
Malcolm Tredinnick
4431b9df6c
Fixed #8827 -- Hebrew translation update from Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:53:31 +00:00
Malcolm Tredinnick
8a54b1b01b
Fixed #8796 -- Another small Brazilian Portugese update. Thanks, Luciano Ramalho.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:53:20 +00:00
Malcolm Tredinnick
61cc4a1eee
Fixed #8819 -- Don't include two copies of extra-select columns in the query.
...
This was triggered by r8794, but was, in fact, fairly fragile before then. The
current fix is the correct way we should be doing this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 03:48:25 +00:00
Malcolm Tredinnick
d2ca6fd54e
Fixed #8818 -- Updated changed string in German translation. Thanks, Michael
...
Radziej.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:49:06 +00:00
Malcolm Tredinnick
735337c771
Fixed #8796 -- Updated Portugese Brazilian translation from Guilherme M. Gondim.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:44:54 +00:00
Malcolm Tredinnick
f5c80ba939
Fixed #8661 -- Updated French translation from David Larlet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:42:52 +00:00
Malcolm Tredinnick
4ff1819e28
Fixed #8176 -- Updated Japanese translation from Takashi Matsuo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:41:29 +00:00
Malcolm Tredinnick
b019a88073
Fixed #8815 -- Arabic translation update from okhayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:39:25 +00:00
Malcolm Tredinnick
7515ae1fe0
Fixed #8820 -- Dutch tranlation update from arien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:39:13 +00:00
Ludvig Ericson
146f2aa667
Updated Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 02:37:43 +00:00
Ramiro Morales
a04c6b1321
Updated literal changed in [8877] in Argentinean spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 01:17:42 +00:00
Jacob Kaplan-Moss
67813c65e1
Bumped version to rc1.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:20:17 +00:00
Malcolm Tredinnick
85ebb91846
Fixed #8669 -- Use a consistent version of create() across the board for
...
model/field instance creation. Based on a patch from Richard Davies.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:33 +00:00
Jacob Kaplan-Moss
0e5faf225c
Security fix. Announcement forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 21:10:00 +00:00
Jacob Kaplan-Moss
f6a3652eb2
Fixed #8788 : fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:33:56 +00:00
Jacob Kaplan-Moss
7a9b55ddc4
Fixed #2612 : fixed display of admin `help_text` with multiple fields on the same line. Thanks to Nathan Borror for the original patch, and jezdez for a little cleanup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:25:27 +00:00
Brian Rosner
577640bd04
Fixed #8805 -- Make sure proper type coercion happens before dumping data into join for limit_choices_to when building the URL parameters for the ForeignKeyRawIdWidget popup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:57:10 +00:00
Brian Rosner
c1de41f4d2
Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent with the form/formset factories. Refs #8071 to make it easier to get at exclude. Thanks julien for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:26:24 +00:00
Justin Bronn
326b26656a
Fixed `GeoRSSSitemap` to no longer use both `args` and `kwargs` with `urlresolvers.reverse` (no longer allowed since r8760).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:13:39 +00:00
Jacob Kaplan-Moss
24d7b49849
Fixed #8496 : added a note about admindocs to the project template and the tutorial. Thanks, ericvw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:52:42 +00:00
Jacob Kaplan-Moss
23f012dbfa
Cleaned up a bunch of minor doc stuff:
...
* Removed flatpages/redirects README; no other contrib apps have those.
* Cleaned up top-level README to be more readable.
* Removed outdated references to old docs (Fixes #8701 )
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:42:13 +00:00
Jacob Kaplan-Moss
79d2ee3b6d
Fixed #8309 : subclasses now inherit `GenericForeignKey` correctly. There's also now an internal API so that other "virtual fields" like GFK can be inherited as well. Thanks, msaelices.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 15:26:00 +00:00
Jacob Kaplan-Moss
98e1cc92f4
Fixed #8795 : unique_together validation no longer fails on model forms that exclude fields included in the check. Thanks, Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 14:20:11 +00:00
Malcolm Tredinnick
5c32fe7fad
Fixed #8790 -- Multi-branch join trees that shared tables of the same name were
...
sometimes also sharing aliases, instead of creating their own. This was
generating incorrect SQL.
No representative test for this fix yet because I haven't had time to write one
that fits in nicely with the test suite. But it works for the monstrous example
in #8790 and a bunch of other complex examples I've created locally. Will write
a test later.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 13:52:07 +00:00
Marc Fargas
2a14acb5f4
Closes #8791 , Updated Turkish translation. Thanks Metin Amiroff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 10:19:07 +00:00
Malcolm Tredinnick
f31425e8e2
Fixed #7154 -- Inherit all model managers from abstract base classes.
...
Also added documentation describing how manager inheritance works (and when
manager aren't inherited). Based on some patches from sebastian_noack and
emulbreh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 09:04:54 +00:00
Aljosa Mohorovic
cf5087fdb2
update for croatian language (should be 100%)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 08:35:22 +00:00
Marc Fargas
e276ad0109
Updated Catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 07:46:19 +00:00
Marc Fargas
3b7c57587c
Updated Spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 07:45:45 +00:00
Jarek Zgoda
e0a7a9225e
Update Polish translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 06:49:06 +00:00
Brian Rosner
0cd5caa6a8
Fixed #8787 -- Fixed failing admin_widgets tests. This fixes ManyToManyRawIdWidget which was broken with [8823]. Thanks Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 06:10:14 +00:00
Ludvig Ericson
67e141a7cd
Updated Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 05:27:35 +00:00
Malcolm Tredinnick
63c9b7bf06
Avoid a deprecation warning when running on Python 2.6. Patch from Karen Tracey.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:04:28 +00:00
Malcolm Tredinnick
54e02cc92b
Updated Norwegian translation from Jon Lønne. Fixed #8785 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:50:23 +00:00
Malcolm Tredinnick
4aa0714916
Updated Macedonian translation from Georgi Stanojevski. Fixed #8783 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:49:04 +00:00
Malcolm Tredinnick
c57c495a19
Updated Finnish translation from Ville Säävuori and Antti Kaihola. Fixed #8782 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:47:55 +00:00
Malcolm Tredinnick
51195f75dc
Updated Arabic translation from Ossama M. Khayat. Fixed #8781 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:45:54 +00:00
Malcolm Tredinnick
91e646aa74
Updated Czech translation from Petr Marhoun. Fixed #8779 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:41:55 +00:00
Malcolm Tredinnick
1a9ed22d06
Dutch translation update from Rudolph Froger. Fixed #8776 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:41:45 +00:00
Malcolm Tredinnick
0ac2e3dd83
French translation update from David Larlet. Fixed #8661 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:35:40 +00:00
Malcolm Tredinnick
ffd47e7383
Japanese translation update from Takashi Matsuo. Fixed #8176 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:35:29 +00:00
Malcolm Tredinnick
12f6259903
Fixed #8439 -- Complex combinations of Q-objects (using both conjunctions and
...
disjunctions) were producing incorrect SQL when nullable relations were
involved. This fixes that.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 02:16:41 +00:00
Malcolm Tredinnick
3cdfb47e93
A typo fix that fortunately wasn't creating invalid SQL, just slightly less
...
efficient than possible SQL in some odd cases (found via code inspection, not
any particular failing example).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:50:19 +00:00
Malcolm Tredinnick
1b615ac46d
Get the join promotion code (a bit more) correct when constructing joins for ordering.
...
Yes, this really is a commit that fixes an oversight in a commit that fixed an
oversight. One day I'll get it right.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:20:10 +00:00
Ian Kelly
6211527fa2
Replaced exact lookups of the empty string with isnull lookups in Oracle. Fixes the testPreventDuplicateComments case.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:18:42 +00:00
Malcolm Tredinnick
a9465a75de
Fixed a case of incorrect parsing of quanitifers in reg-exp patterns.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:03:03 +00:00
Brian Rosner
eefec151d1
Fixed #2612 -- Fixed admin formatting when help_text is used with multiple fields on the same line.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:59:43 +00:00
Brian Rosner
ce47d4ab83
Fixed #8648 -- Admin no longer ignores to_field. Thanks for the help Karen Tracey and SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:43:38 +00:00
Malcolm Tredinnick
dcb0e8f959
Fixup for Python 2.3.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:32:40 +00:00
Jacob Kaplan-Moss
d86a702d37
Fixed #8777 : use better capitalization in unique together error message. Thanks, Petr Marhoun.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:22:12 +00:00
Jacob Kaplan-Moss
3a18002bbd
Fixed #8210 and #8664 : moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:15:35 +00:00
Ramiro Morales
4f225d44ce
Updated Argentinean spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:05:18 +00:00
Brian Rosner
2487e3ae37
Removed a conditional that slipped by that makes inline model formsets fail validation when re-submitted.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:33:15 +00:00
Brian Rosner
7c7ad041b3
Fixed #7975 -- Callable defaults in inline model formsets now work correctly. Based on patch from msaelices. Thanks for your hard work msaelices.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:28:32 +00:00
Jacob Kaplan-Moss
d5cc16b471
Fixed #8076 : fixed `get_(next/previous)_by_date` when used with subclasses. Thanks, bjornkri and jan_oberst.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 21:04:01 +00:00
Marc Fargas
b4d3f4e004
Closes #8771 , Updated Hebrew translation. Thanks Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:45:34 +00:00
Jacob Kaplan-Moss
89633c3077
Fixed a small oversight in [8750]; thanks for the sharp eyes, Warren. Fixes #8616 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:25:16 +00:00
Jannis Leidel
7239429851
Updated German translation for r8805
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 20:17:00 +00:00
Ian Kelly
d2f420ec8a
Corrected Oracle DatabaseError definition.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:58:41 +00:00
Nicola Larosa
9b7dc6a3d6
Italian translation updated. String thaw...
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:41:50 +00:00
Ian Kelly
c887d71e76
Fixed escaping of wildcard characters in iexact lookups in Oracle.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:37:48 +00:00
Jacob Kaplan-Moss
7ecdf47bd0
Fixed #8115 : avoid a infiniate loop when collecting related objects for deletion.
...
I can't reproduce the original error leading to #8115 and the patch. However, the only harm this change could cause is to raise more `CyclicDependency` exceptions than strictly necessary. That's better than infinite loops, at least, and it's easier to clean up in the future when we figure out the actual fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:35:03 +00:00
Jacob Kaplan-Moss
d7e9bb0571
Repaired an oversight from [8772] that let made certain types of fields with choices fail. Fixes #6967 again.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:20:03 +00:00
Jacob Kaplan-Moss
ea05e61b2b
Fixed #8209 : `ModelForm`s now validate unique constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:08:08 +00:00
Ian Kelly
5f31e9bd33
Fixed extra_select with DateQuery in Oracle
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 18:45:49 +00:00
Malcolm Tredinnick
cf7a078774
Added a related name to the ForeignKey in the abstract base class of the
...
comment models. You'll never need to use this name, but it will lead to invalid
models if not present.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:56:22 +00:00
Jacob Kaplan-Moss
e545058ba9
Fixed #8354 : the MySQL backend no longer raises a cryptic error. Instead, it raises a less-cryptic error. Obiously this isn't a perfect solution by any means, but it'll do until we can revisit timezone handling in the future.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:48:39 +00:00
Jacob Kaplan-Moss
a3196dac48
Make sure to use force_unicode when looking up comment objects by `object_pk`. Fixes #8762 , and one other bug that nobody's reported yet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 17:23:09 +00:00
Marc Fargas
3686fc189a
Closes #8731 , Typo in "fr" locale. Thanks Sephi & Julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:28:22 +00:00
Marc Fargas
587d3d7f79
Closes #8755 , Updated Turkish translation. Thanks Metin Amiroff.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:23:10 +00:00
Marc Fargas
733765a062
Closes #8745 , Updated Czech translation. Thanks Petr Marhoun.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:21:15 +00:00
Marc Fargas
36ece38c07
Closes #8751 , Updated Simplified Chinese translation. Thanks Liang Feng.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 13:15:14 +00:00
Russell Keith-Magee
f55b834c2f
Fixed #7302 : Corrected quoting of columns in extra_group_by. Thanks to Ivan Sagalaev for the patch and initial test.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 12:07:26 +00:00
Marc Fargas
7b70bf9ea6
Closes #8743 , Typo in Brazilian translation. Thanks Guilherme M. Gondim.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:40:57 +00:00
Marc Fargas
c176cf71ba
Closes #8750 . Updated Dutch translation. Thanks Rudolph Froger
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:38:02 +00:00
Jannis Leidel
94da2b8118
Updated German translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 07:52:17 +00:00
Ludvig Ericson
e3525b19aa
Updated Swedish translations added in r8679.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 06:12:51 +00:00
Nicola Larosa
84e0264fee
Fixes #8736 - Italian translation. We're hopefully through with
...
rearranging the chairs on Titanic's deck... ;-)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 05:21:43 +00:00
Malcolm Tredinnick
2d7feda05c
Fixed #7512 -- Fixed an oversight when I first fixed ordering on nullable
...
foreign keys (r7761). Thanks to George Vilches for the test case here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 02:43:55 +00:00
Malcolm Tredinnick
4480645ac3
Fixed #8316 -- Put tighter restrictions on the type of Foreign Key fields
...
created for MySQL (because MySQL + InnoDB has those restrictions).
Patch from julianb.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 00:49:03 +00:00
Malcolm Tredinnick
032d654967
Fixed #8709 -- Updated Slovakian translation from Frantisek Malina.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 00:13:42 +00:00
Malcolm Tredinnick
8c2d788a68
Fixed #8043 -- updated Brazilian Portugese translation from Guilherme Mesquita Gondim.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:59:36 +00:00
Malcolm Tredinnick
97ba591d87
Fixed #4624 -- Updated Persian translation from Reza Mohammadi.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:53:58 +00:00
Aljosa Mohorovic
653d21aa6e
updated croatian translation, still not complete
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 23:27:34 +00:00
Malcolm Tredinnick
7838493b9e
Fixed #8726 -- When doing reverse URL resolving, make sure we're consistently
...
dealing with unicode strings throughout by promoting up from UTF-8 as necessary.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 22:47:25 +00:00
Brian Rosner
ab13303ea4
Fixed #8433 -- Deal with the add user popup on models that foreign key to User correctly. Thanks sorl for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 21:24:33 +00:00
Brian Rosner
d511996901
Enforce max_num=1 on inline model formsets that have a unique foreign key to its parent. I snuck in a quick clean up to the inlineformset_factory as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 21:14:46 +00:00
Jacob Kaplan-Moss
4f5b0a321d
Fixed #8194 (again): correctly focus on the first declared field in the admin. Thanks to fredbartle for catching my silly mistake the first time 'round.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:30:55 +00:00
Jacob Kaplan-Moss
8b11341a9a
Fixed `ModelAdmin.radio_fields` to work with the new `TypedChoiceField`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:11:28 +00:00
Jacob Kaplan-Moss
3b63953704
Fixed #6967 : `ModelForm`s now validate choices. Thanks, mattmcc -- the failing test helped quite a bit.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:11:11 +00:00
Jacob Kaplan-Moss
4ae746b574
Added a `TypedChoiceField` which acts just like `ChoiceField`, except that it
...
returns a value coerced by some provided function. Refs #6967 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 20:10:50 +00:00
Marc Fargas
3e71a684b3
Updated Estonian translation. Thanks Erik Allik.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 19:43:49 +00:00
Jacob Kaplan-Moss
86316f0be6
Fixed #7027 : template tags now corectly break tokens around strings marked for translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 18:28:06 +00:00
Malcolm Tredinnick
79968f9867
Fixed #8703 -- Allow deeply nested import paths for DJANGO_SETTINGS_MODULE when
...
running django-admin.py. Also adds a parameter to setup_environ() for others to
use as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8768 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 18:21:06 +00:00
Nicola Larosa
8f56d6d017
Fixes #8703 - Italian translation: updated django.mo, just for
...
completeness, no string changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:38:54 +00:00
Marc Garcia
ec525e3719
Catalan translation updated, specially date formats. It should be ready for Django 1.0
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:27:12 +00:00
Brian Rosner
d05ebdb649
Fixed #8058 -- Moved media for filter_vertical/filter_horizontal widget to the widget for use outside the admin. This also corrects RelatedFieldWidgetWrapper to expose the media of the wrapped widget. Thanks Erwin for the report and cgrady and ramikassab for the complete patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:20:43 +00:00
Malcolm Tredinnick
e1ea7014ad
Fixed #8725 -- Handle empty URL patterns in reverse().
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:20:40 +00:00
Brian Rosner
30c7ce90c5
Fixed #8631 -- Corrected a display issue with the popup submit_row where the Save button would overflow. Thanks btaylordesign for report and initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 17:13:29 +00:00
Malcolm Tredinnick
24bacb19de
Fixed #5216 -- Fixed a case of a string not being a unicode string.
...
Thanks to Vadim Fint for the test case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:39:06 +00:00
Malcolm Tredinnick
a63a83e5d8
A rewrite of the reverse URL parsing: the reverse() call and the "url" template tag.
...
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks
to SmileyChris and Ilya Semenov for some early patches in this area that were
incorporated into this change.
Fixed #2977 , #4915 , #6934 , #7206 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:11:20 +00:00
Brian Rosner
27f9b96fa0
Fixed handling of primary keys in model formsets. Model formsets should now work nicely with custom primary keys that are OneToOneField, ForeignKey and AutoField. Added tests to handle each of them.
...
Fixes #8241 , #8694 , #8695 and #8719 .
Thanks Karen Tracey, jonloyens, sciyoshi, semenov and magneto for tracking down various parts of this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:49:55 +00:00
Ramiro Morales
a40a32e52a
Updated Argentinian spanish translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 22:24:24 +00:00
Jacob Kaplan-Moss
ae72e25b35
Fixed #8716 : correctly handle name and email in comments from authenticated users.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 21:30:02 +00:00
Jacob Kaplan-Moss
eebc7caa63
Fixed #8616 (again): prevent a race condition in the session file backend. Many thanks to Warren Smith for help and the eventual fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 20:50:41 +00:00
Malcolm Tredinnick
1729d92f71
Fixed #8702 -- Set up the initial locale correctly for the development server.
...
Previously, "--noreload" wasn't picking up the default language setting. Thanks
to arien and Karen Tracey for debugging this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 20:17:58 +00:00
Jacob Kaplan-Moss
15644cb255
Fixed #8622 : accessing POST after a POST handling exception no longer throws the server into an infinite loop. Thanks to vung for tracking this one down and fixing it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:56:14 +00:00
Jacob Kaplan-Moss
f2d7ee759a
Fixed #8710 : removed a few stray tabs. Thanks, gkelly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:25:40 +00:00
Jarek Zgoda
ddaa3016e2
Last missing string translated in Polish locale.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 19:10:07 +00:00
Malcolm Tredinnick
395cd3b42c
Accidentally committed a rebase of the Macedonian messages in [8742] (this
...
wasn't a translation update). Undoing that. My fault entirely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:54:58 +00:00
Malcolm Tredinnick
a90320032e
Fixed #8715 -- Updated Finnish translation from Ville Säävuori.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:52:31 +00:00
Malcolm Tredinnick
b08ee75dc1
Fixed #8708 -- Updated Arabic translation from Ossama M. Khayat.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:52:11 +00:00
Malcolm Tredinnick
e47f5731be
Fixed #8707 -- Updated Macedonian translation from Georgi Stanojevski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 17:51:48 +00:00
Malcolm Tredinnick
fd0cc45828
[8721] introduced some internal field names. We hide them from the list of
...
valid field names in debugging output so that it doesn't confuse things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 04:52:56 +00:00
Malcolm Tredinnick
c60e22c073
Fixed #8699 -- Updated Hungarian translation from Szilveszter Farkas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 03:12:58 +00:00
Malcolm Tredinnick
cc971910a9
Changed [8727] to use ImportError, which seems to actually work. Not sure what
...
I was smoking when I tested this 10 minutes ago. Refs #8680 . Thanks to gkelly
for cleaning up after me.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 23:03:12 +00:00
Malcolm Tredinnick
4184d6348e
Fixed #8680 -- Changed a couple of GEOExceptions to Python's RuntimeError so
...
that help() works. Without this change, even if you didn't use the gis stuff,
just using Python 2.5's help() system would crash when searching for model
names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:51:01 +00:00
Malcolm Tredinnick
b2dd9c6fa1
Fixed a few of the msgid (untranslated strings) encodings in the French
...
translation. Not sure why they weren't properly UTF-8 encoded originally.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:37:22 +00:00
Malcolm Tredinnick
fb041b1620
Another French update from David Larlet. Fixed #8661 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:34:05 +00:00
Malcolm Tredinnick
51836756d0
Fixed a typo from the refactoring in [8455]. With bonus test, too. Thanks, vung.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 22:29:38 +00:00
Malcolm Tredinnick
38362a1276
Fixed a missing piece of [8721].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:48:40 +00:00
Malcolm Tredinnick
f3e088d2d9
Fixed #8697 -- Updated Norwegian translation from Jon Lønne.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:41:50 +00:00
Malcolm Tredinnick
f04123f4df
Fixed #8279 -- Multiple many-to-many relations to "self" are now possible.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 21:24:00 +00:00
Jacob Kaplan-Moss
ae953a8c4e
Fixed #8673 : fixed a missing import in `django.core.files.move`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 20:00:55 +00:00
Brian Rosner
5c31c68560
Properly reference FieldDoesNotExist as it does not exist in global of django/contrib/admin/options.py.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:50:22 +00:00
Jacob Kaplan-Moss
21adbd6738
Fixed #7466 : do a better job figuring out links from the admin docs into the rest of the admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:29:16 +00:00
Jacob Kaplan-Moss
0871ff2c9c
Fixed #7810 : added named URLs for admin docs, and use them in the admin base template. Thanks, MattBowen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:53 +00:00
Jacob Kaplan-Moss
c068bc184c
Merge branch 'url-tag-asvar'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:03 +00:00
Jacob Kaplan-Moss
2ca8cf3628
Fixed #8653 : make formtools' security hash more rubust. Silly that I didn't think of this before; thanks to bthomas for providing the obvious fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:15:34 +00:00
Malcolm Tredinnick
71076ae299
Fixed some edge-case error handling from [8699]. Thanks, gkelly.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 18:12:31 +00:00
Malcolm Tredinnick
ef7f61a35e
Fixed #8541 -- An attempt at translating the technical messages IDs for zh_CN from garcia_marc.
...
This fixes the obvious problem, but a full translation update is needed from a
Chinese speaker here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 18:09:10 +00:00
Malcolm Tredinnick
f2fd577bd5
Fixed #8689 -- Updated Russian translation from Grigory Fateyev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:49:22 +00:00
Malcolm Tredinnick
8f0bdb1468
Fixed #8685 -- Updated Portugese translation from Nuno Mariz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:49:05 +00:00
Malcolm Tredinnick
0e9ba0af36
Updated French translation from David Larlet and Julien Phalip.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:48:28 +00:00
Brian Rosner
d57d490b76
Fixed #7918 -- Allow the foreign key in an inline to be any where in the parent chain. Thanks sil for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:41:40 +00:00
Malcolm Tredinnick
3717e3bba3
Reverted #8688 for now, since it merely introduced different bugs, rather than
...
fixing the problem. We have a plan B (and plan C, if needed), so this will be
fixed in a different way.
Refs #8616 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 17:32:21 +00:00
Jacob Kaplan-Moss
6a8dcafb57
Fixed #8278 : fixed `QueryDict.update(QueryDict)`. Thanks, julien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:49:19 +00:00
Brian Rosner
cd0b65bcf7
Fixed #7982 -- Corrected ModelAdmin url dispatching to ensure it matching exactly what it needs and doesn't stomp on primary key space. 'add' is a lost cause for now. This originated from #6470 . Thanks jdetaeye for the original patch and basith for providing test cases.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:46:46 +00:00
Nicola Larosa
8cfecbd748
Italian translation, again: darned KBabel...
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:31:00 +00:00
Nicola Larosa
d95466b7a0
Italian translation updated (apparently, even string freezes are subject
...
to global warming, lately...)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:28:52 +00:00
Jacob Kaplan-Moss
15416a9016
Fixed #7881 : Support `__in` lookups in `limit_choices_to` and `raw_id_admin`. Thanks, jamesturk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:13:17 +00:00
Jacob Kaplan-Moss
21928f2ba0
Fixed #7738 : support initial values via `GET` for `SelectMutliple` in the admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:09:29 +00:00
Brian Rosner
89ccbabbfc
When a form in the admin has no fields prevent failure.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 16:07:19 +00:00
Jacob Kaplan-Moss
b5da9e8b2d
Fixed #8687 , a bad variable name in validation. Thanks, vung.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 15:45:23 +00:00
Jarek Zgoda
7f055554e0
Fixed #8665 - Polish translations update. Thanks, Piotr Lewandowski.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8696 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 06:53:02 +00:00
Malcolm Tredinnick
e66b0ae576
Updated Japanese translation from Takashi Matsuo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 04:30:19 +00:00
Malcolm Tredinnick
90279aeaf0
Fixed #8575 -- Catch one particular instance of OperationalError in MySQL and
...
convert it to an IntegrityError, which seems like the more natural case (and is
consistent with other backends). This makes exception handling in Django much
easier.
The solution is extensible for any other error codes we may wish to add going
forwards.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 04:30:07 +00:00
Malcolm Tredinnick
54f41e3507
Fixed #8101 -- Allow the strings '1' and '0' as filter values for boolean
...
fields (the latter was causing problems). This allows these values in URLs
(e.g. the admin filtering).
Not an ideal solution to the problem, but will do the job for the time being.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 02:40:56 +00:00
Malcolm Tredinnick
a1d2f6ef0c
Fixed #7823 -- Fixed an edge case in RelatedField.get_db_prep_lookup() so that
...
it works correctly with custom field subclasses. Patch from Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 02:40:50 +00:00
Malcolm Tredinnick
02f86a1c7c
Fixed #8616 -- Fixed a race condition in the file-based session backend.
...
Thanks to warren@wandrsmith.net for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 01:44:11 +00:00
Marc Fargas
6e841ca767
Updated catalan translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 22:59:23 +00:00
Marc Fargas
e3b178ede3
Updated Spanish translation.
...
The Last-Translator and Language-Team fields have been shortened to avoid
further wrapping by gettext.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 22:58:19 +00:00
Jacob Kaplan-Moss
fc2978cc45
Fixed a bug in `NullBooleanField.to_python`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:23:21 +00:00
Jannis Leidel
8d8236385f
Updated German translation, yay.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:02:05 +00:00
Jacob Kaplan-Moss
a41ca9c9e2
Fixed #8556 : added a useful formfield to `CommaSeparatedIntegerField`. gkelly, mattmcc, and kratorius all contributed portions of this patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:58:10 +00:00
Jacob Kaplan-Moss
fe8e00ae06
Fixed #8194 : `AdminForm.first_field` now correctly returns the first field when using custom field orders.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:48:59 +00:00
Jacob Kaplan-Moss
503fda43fa
Fixed #8654 : added `ugettext_lazy` to `django.utils.translation.__all__`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:20:40 +00:00
Jacob Kaplan-Moss
0c66bac4f3
Marked a handful of missed strings for translation. Fixes #8644 , #8617 , and #8610 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8679 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 20:17:31 +00:00
Ludvig Ericson
9348c118da
Updated all Swedish translations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:54:43 +00:00
Jacob Kaplan-Moss
7b65302567
Fixed #8608 : corrected doc link in comment 400 error page.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 19:46:33 +00:00