1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

8522 Commits

Author SHA1 Message Date
Alex Gaynor
28499bbe36 [soc2010/query-refactor] Fixed update on MongoDB.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 19:59:44 +00:00
Alex Gaynor
7ce89032b6 [soc2010/query-refactor] Implement querying, thereby providing that update wasn't working (not fixed yet).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 19:28:20 +00:00
Alex Gaynor
fe2bd63e37 [soc2010/query-refactor] MongoDB backend can now update saved objects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 16:23:26 +00:00
Alex Gaynor
9142ba5c4c [soc2010/query-refactor] Added a file with a running list of considerations before a merge.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 15:47:23 +00:00
Alex Gaynor
89fb7aa310 [soc2010/query-refactor] Introced NativeAutoField, also started with some basic MongoDB tests (really just very basic ORM tests), and introduced various APIs into the mongodb backend that were necessary for running unittests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 15:31:19 +00:00
Alex Gaynor
defc494810 [soc2010/query-refactor] Merged up to trunk r13336.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09 14:29:24 +00:00
Alex Gaynor
3507a3e629 [soc2010/query-refactor] Cleaned up the implementation of compiler's has_results method.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 20:23:38 +00:00
Alex Gaynor
b564f6c661 [soc2010/query-refactor] Moved has_results (implementation of exists()) onto the compiler, where it belongs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 20:18:17 +00:00
Alex Gaynor
8690f66f4a [soc2010/query-refactor] Small change so that insertions with an explicit primary key should work.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 20:03:43 +00:00
Alex Gaynor
1f9e422b8d [soc2010/query-refactor] Refactor, and implement a few more methods to get models saving under the mongodb backend.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 17:53:34 +00:00
Alex Gaynor
4c45befaad [soc2010/query-refactor] Implement a few methods to the point of tests actually running under mongodb (all failing of course).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 17:53:22 +00:00
Alex Gaynor
0813aa4614 [soc2010/query-refactor] Altered the base database backend class to not have anything more than the bare minimum. Also add the bare beginnings for a mongodb backend.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 17:53:14 +00:00
Alex Gaynor
a61b34b048 [soc2010/query-refactor] Merged up to trunk r13328.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07 17:52:53 +00:00
Jacob Kaplan-Moss
9d3e6668d9 Created SoC query-refactor branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-27 09:35:51 +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
1.2.1
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
Karen Tracey
6b2fd346ad Fixed #13566, a typo in the 1.2 release notes. Thanks johnthedebs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-19 12:35:02 +00:00
Jacob Kaplan-Moss
747e8dfe5f Fixed #13563, a typo in the GeoDjango tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-19 03:25:42 +00:00
Jacob Kaplan-Moss
97560f3a07 Fixed a couple of typos in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 22:28:44 +00:00
Jacob Kaplan-Moss
ffcffcb96b Updated the docs conf.py to have the correct version number.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 18:51:50 +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
9444c8dd1d Add in the section on Python 2.3 compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:57:07 +00:00
James Bennett
f8af1afbea Flip PyPI classifier from beta to stable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 17:42:14 +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
1.2
2010-05-17 17:31:49 +00:00
James Bennett
c40b131ed5 A final *final* clarification in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:48:32 +00:00
James Bennett
d88d0ec336 Some final clarifications in the release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:47:16 +00:00
Jacob Kaplan-Moss
47e3cc74d9 Slight fixes to related fields reference to avoid conflicting target names
with the queryset docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:37 +00:00
Jacob Kaplan-Moss
acd8dcd5b0 Some heavy refactoring to the 1.2 release notes.
Don't bury the lede, folks!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:29 +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
Russell Keith-Magee
10b5f38593 Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 00:27:37 +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
06ab9eeaf5 Added notes about the two new date format specifiers (`c and u`) added in 1.2. Thanks for the patch, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-16 20:48:19 +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
Russell Keith-Magee
626d2e7243 Removed the 'under development' marker from the 1.1.2 release notes; a little too late, but better than never.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:42:59 +00:00
Russell Keith-Magee
bca6a7f6c0 Minor fixes to 1.2 release docs. Thanks to Ramiro Morales for noticing the version number problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:41:15 +00:00
Russell Keith-Magee
9900917d79 Fixed #13540 -- Corrected typo in 1.2 release docs. Thanks to erw for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 11:27:00 +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
James Bennett
23decc4b86 Update 1.2 release notes in anticipation of final release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 06:51:42 +00:00
Russell Keith-Magee
a193f355a8 Fixed #13532 -- Corrected and clarified examples in F() docs. Thanks to erw for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 01:51:14 +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