Commit Graph

5517 Commits

Author SHA1 Message Date
Russell Keith-Magee 398415fc23 Fixed #13821 -- Added a double-quoting to the PostgreSQL sequence reset code. Thanks to PaulM for the report, and to PaulM and Simon Meers for their work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 02:43:01 +00:00
Russell Keith-Magee bab9aab9a2 Fixed #13941 -- Corrected the way sequence names are reset under Postgres, especially when generic foreign keys are involved. Thanks to Ales Zoulek for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-30 02:42:36 +00:00
Justin Bronn aaa5dfbf53 Fixed #13967 -- MySQL spatial backend now respects when `spatial_index=False`. Thanks, Simon Law, for bug report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-21 15:23:18 +00:00
Justin Bronn 87a60e28cc Fixed #13934 -- `GeoSQLCompiler.get_default_columns` was missing `local_only` keyword argument. Thanks, Simon Law, for bug report and initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-20 19:05:46 +00:00
Luke Plant f92a21daa7 Added proper code comments for the HTTPS CSRF protection.
Refs #13489 which noticed a vague comment - thanks pmclanahan



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-30 22:30:37 +00:00
Justin Bronn 096c465358 Fixed #13779 -- Can now discover GDAL 1.7 from debian-based packages. Thanks to Leo for bug report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 17:17:22 +00:00
Luke Plant 5ff262e8bf Fixed #12803 - Added styling for 'error' and 'warning' messages in admin.
Thanks to bboli and sebastian_noack for the report, DrMeers for the patch.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-23 13:14:30 +00:00
Russell Keith-Magee 0dce7b6921 Fixed #12619 -- Added support for the --noinput flag to testserver. Thanks to clouserw for the suggestion, and darkrho for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 12:09:25 +00:00
Russell Keith-Magee 6ab3fea113 Fixed #8901 -- Reapplied r13328 (with extra docs) now that we have a 1.3 development branch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 11:48:45 +00:00
Jacob Kaplan-Moss b46639f570 Django is now 1.3 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 21:14:56 +00:00
Jacob Kaplan-Moss 90ce8b0c99 Fixed #10843: the textile tests now pass against the latest textile library.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 21:07:33 +00:00
Russell Keith-Magee 2597f31ed4 Refs #8901 -- Reverted r13328 because the patch imposes a minimum version requirement of Postgres 8.0; we can't impose that on Django 1.2, so we need to wait until the 1.3 is branched before we can apply this change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-10 11:45:29 +00:00
Luke Plant ac8b7ff021 Fixed #13716 - the CSRF get_token function stopped working for views with csrf_view_exempt
This was a regression caused by the the CSRF changes in 1.2.

Thanks to edevil for the report.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-08 14:35:48 +00:00
Russell Keith-Magee 21a690fcfe Fixed #8901 -- Corrected the PostgreSQL sequence reset code when field identifiers exceed the maximum identifier length. Thanks to adam@zuerchertech.com for the report, and Matt Hoskins for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 15:47:19 +00:00
Jarek Zgoda 9ebf411f26 Fixed #13577 - wrong thousands separator in Polish formats file. Thanks sero for report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 14:47:10 +00:00
Russell Keith-Magee 5da6aeba17 Fixed #13636 -- Migrated fixtures tests to use unittests, eliminating another set of expensive flush calls. Thanks to Eric Holscher for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-05 05:26:04 +00:00
Luke Plant 3e1e04d6d0 Fixed #10758 - sys.exc_info() should not be stored on a local variable
Thanks piotr.findeisen for report, kevinh for patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@13318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-03 18:50:04 +00:00
Jacob Kaplan-Moss 2311bcbd01 Fixed #13624: added SIGNATURE to the list of settings to hide on debug pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 17:25:43 +00:00
Jacob Kaplan-Moss 3180f93236 Fixed #13572: copies of QueryDicts now have their encoding set correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 16:39:52 +00:00
Russell Keith-Magee c4e0dc6b5e Fixed #13656 -- Ensure that the management commands use the right database for transaction start/end commands. Thanks to Alex Gaynor for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 13:46:12 +00:00
Karen Tracey adc9458541 Fixed #13653: Fixed django.utils.hashcompat to support running on Python 2.4 with standalone hashlib.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 11:46:03 +00:00
Russell Keith-Magee 526a4410d7 Fixed #13634 -- Migrated aggregation tests to use unittest. This removes a flush, which speeds up the tests overall.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 11:15:36 +00:00
James Bennett 6cffb9b880 Bump to 1.2.1.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-24 19:10:30 +00:00
Jannis Leidel e6ec07dc1f Fixed #13592 -- Make sure the SelectDateWidget works with dates before 1900 when localization is enabled. Thanks for the report and patch, magnus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-23 10:38:23 +00:00
Luke Plant 6b2d6e1833 Fixed #13590 - Made CSRF failure page styling consistent with Django's default error page styling.
Thanks to alefteris for suggestion.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-22 18:42:16 +00:00
Russell Keith-Magee 84060a1f7a Refs #13573 -- Modified the key technique added in r13295 to be more robust against potential key collisions while keeping key names human-readable. Thanks to Alex for being finicky.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:25:26 +00:00
Jannis Leidel 5acd9cd8ba Fixed #13577 -- Updated Polish formats file. Thanks, ludwik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:09:25 +00:00
Jannis Leidel 286ce85e45 Fixed #13569 -- Fixed createsuperuser management command to work with the new relaxed requirements for usernames.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:08:49 +00:00
Jannis Leidel b057a8b247 Fixed #13560 -- Fixed localization of widgets.
Particularly this fixes the SplitDateTimeField and the AdminDateWidget by localizating the widget's value in its render method instead of the form field. Thanks to David Danier for the report and Russell for help with the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 14:07:54 +00:00
Russell Keith-Magee 8a6cb3d969 Fixed #13573 -- Corrected problem with template caching when template directories are provided. Thanks to lamby for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21 08:54:15 +00:00
James Bennett 5b6c20f2c4 Trunk is now 1.2.1 pre-alpha.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 18:21:18 +00:00
James Bennett 6276167b72 Bump version and download info to 1.2.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:31:49 +00:00
Ramiro Morales b496518623 Fixed a couple of es_AR translation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 13:57:15 +00:00
Jannis Leidel a17d897751 Fixed #13545 -- Updated Norwegian nynorsk (nn) translation. Thanks, Håvard Grimelid.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 20:48:45 +00:00
Jannis Leidel 34ddcd9939 Fixed #13547 -- Made sure the ISO 8601 date formatting introduced in r12058 uses "T" as the separator between the date and the time value to increase real world usefulness.
While the ISO standard permits the use of a space instead of "T" for readability, it does have an impact on standards like HTML5 which rely on specific rules made in RFC 3339.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 15:54:10 +00:00
Jannis Leidel fa14e3127d Fixed #13544 -- Updated Norwegian bokmal translation. Thanks, Jon Lønne.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-15 00:19:01 +00:00
Jannis Leidel 01f09c945e Fixed #13536 - Updated French translation. Thanks, David Larlet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 09:13:32 +00:00
Jannis Leidel 670baf2e48 Updated the English language files to match the strings in the 1.2 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-13 13:42:24 +00:00
Jannis Leidel b3fff855ab Updated German translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-13 13:42:01 +00:00
Russell Keith-Magee 21e84194b5 Fixed #13514 -- Corrected the process of loading multiple javascript translation catalogs. Thanks to jtiai for the report, to Ramiro Morales for working out the test case, and to Ramiro and Jannis for their help on the fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-13 13:29:31 +00:00
Luke Plant b29b0f8cac Corrected 'name' of functions wrapped with method_decorator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-13 11:11:27 +00:00
Russell Keith-Magee 70a8f07006 Fixed #13502 -- Updated Arabic translation. Thanks to okhayat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 13:29:57 +00:00
Russell Keith-Magee b8ed827952 Fixed #13517 -- Added Latvian L10N description. Thanks to fest.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 11:07:50 +00:00
Russell Keith-Magee 23976fa4b5 Fixed #13486 -- Corrected handling of %I in admin javascript version of strftime. Thanks to Bufke for the report, and jmil for the solution.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 11:00:12 +00:00
Ramiro Morales b6f0fa586b Updated es_AR translation. Complete as of r13237.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 21:46:39 +00:00
Russell Keith-Magee bfa0bae9a9 Fixed #13523 -- Updated Russian translation. Thanks to Alexey Boriskin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 14:43:24 +00:00
Russell Keith-Magee 16c64bc2b7 Fixed #13521 -- Corrected javascript comparisons determining when to show and hide the 'add another' inline button. Thanks to darkrho for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 13:40:17 +00:00
Russell Keith-Magee 6543539777 Fixed #13522 -- Updated Indonesian translation. Thanks to gchandrasa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 13:07:09 +00:00
Russell Keith-Magee f6b0f742d1 Fixed #13513 -- Ensured that queries collecting deleted objects are issued on the right database, especially when dealing with m2m intermediate tables. Thanks to gavoja for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 13:06:03 +00:00
Russell Keith-Magee 8d9bef9a46 Fixed #13520 -- Updated Finnish translation. Thanks to Aku Kotkavuo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 06:10:58 +00:00