1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

8537 Commits

Author SHA1 Message Date
Alex Gaynor
33523c9f95 [soc2010/query-refactor] Implemented __gt.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 18:08:47 +00:00
Alex Gaynor
530434f7ba [soc2010/query-refactor] Fixed __isnull.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22 18:08:38 +00:00
Alex Gaynor
1fda238ce8 [soc2010/query-refactor] Implemented values (and values_list).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 20:28:47 +00:00
Alex Gaynor
28c9044ee1 [soc2010/query-refactor] Implemented slicing, also found a bug in MongoDB/PyMongo.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 19:14:13 +00:00
Alex Gaynor
6c6dc8fd71 [soc2010/query-refactor] Implemented order_by, also fixed a typo in "The Beatles", sorry.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 18:38:24 +00:00
Alex Gaynor
bf071f7c0c [soc2010/query-refactor] Clean up the implementation of lookup_type, added more tests, and killed code that wasn't tested.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 18:23:34 +00:00
Alex Gaynor
706b18966f [soc2010/query-refactor] Cleaned up implementation of negation in MongoDB, and no longer rely on a feature from MongoDB unstable version.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 16:11:17 +00:00
Alex Gaynor
dd5e718296 [soc2010/query-refactor] Merged up to trunk r13366.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21 15:49:56 +00:00
Alex Gaynor
72c6a43403 [soc2010/query-refactor] Implemented __lt lookups for MongoDB.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 01:36:13 +00:00
Alex Gaynor
d19cba9b8c [soc2010/query-refactor] Implemented not equal (exclude(foo=bar)) in the ORM for MongoDB, note that this doesn't actually work at the moment due to a bug in MongoDB.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19 01:26:36 +00:00
Alex Gaynor
2804e22bfe [soc2010/query-refactor] Fix an amusing typo (didn't break anything, was just stupid). Thanks to Waldemar Kornewald for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-18 02:04:10 +00:00
Alex Gaynor
9f53dbb246 [soc2010/query-refactor] Introduced tests to show that ForeignKeys work correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-16 20:48:45 +00:00
Alex Gaynor
f522555392 [soc2010/query-refactor] Implemented count() (and by extension the Count() aggregate on the primary key).
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-14 20:09:24 +00:00
Alex Gaynor
8f441f0962 [soc2010/query-refactor] Cleaned up a TODO in the flush management command, and the resulting landslide of bugs this unveiled in the MongoDB backend.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-14 19:15:11 +00:00
Alex Gaynor
4f395e7527 [soc2010/query-refactor] Merged up to trunk r13350.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-14 18:30:38 +00:00
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