Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 47 commits
  • 201 files changed
  • 0 comments
  • 2 contributors
May 27, 2010
Jacob Kaplan-Moss Created SoC query-refactor branch. 9d3e666
Jun 07, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13328. a61b34b
Alex Gaynor [soc2010/query-refactor] Altered the base database backend class to n…
…ot 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
0813aa4
Alex Gaynor [soc2010/query-refactor] Implement a few methods to the point of test…
…s 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
4c45bef
Alex Gaynor [soc2010/query-refactor] Refactor, and implement a few more methods t…
…o 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
1f9e422
Alex Gaynor [soc2010/query-refactor] Small change so that insertions with an expl…
…icit primary key should work.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
8690f66
Alex Gaynor [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
b564f6c
Alex Gaynor [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
3507a3e
Jun 09, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13336. defc494
Alex Gaynor [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
89fb7aa
Alex Gaynor [soc2010/query-refactor] Added a file with a running list of consider…
…ations before a merge.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9142ba5
Alex Gaynor [soc2010/query-refactor] MongoDB backend can now update saved objects. fe2bd63
Alex Gaynor [soc2010/query-refactor] Implement querying, thereby providing that u…
…pdate 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
7ce8903
Alex Gaynor [soc2010/query-refactor] Fixed update on MongoDB. 28499bb
Jun 14, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13350. 4f395e7
Alex Gaynor [soc2010/query-refactor] Cleaned up a TODO in the flush management co…
…mmand, 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
8f441f0
Alex Gaynor [soc2010/query-refactor] Implemented count() (and by extension the Co…
…unt() aggregate on the primary key).

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
f522555
Jun 16, 2010
Alex Gaynor [soc2010/query-refactor] Introduced tests to show that ForeignKeys wo…
…rk correctly.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9f53dbb
Jun 18, 2010
Alex Gaynor [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
2804e22
Jun 19, 2010
Alex Gaynor [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
d19cba9
Alex Gaynor [soc2010/query-refactor] Implemented __lt lookups for MongoDB. 72c6a43
Jun 21, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13366. dd5e718
Alex Gaynor [soc2010/query-refactor] Cleaned up implementation of negation in Mon…
…goDB, 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
706b189
Alex Gaynor [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
bf071f7
Alex Gaynor [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
6c6dc8f
Alex Gaynor [soc2010/query-refactor] Implemented slicing, also found a bug in Mon…
…goDB/PyMongo.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
28c9044
Alex Gaynor [soc2010/query-refactor] Implemented values (and values_list). 1fda238
Jun 22, 2010
Alex Gaynor [soc2010/query-refactor] Fixed __isnull. 530434f
Alex Gaynor [soc2010/query-refactor] Implemented __gt. 33523c9
Alex Gaynor [soc2010/query-refactor] Fixed Querysets in MongoDB with a limit of 0. d6993c7
Alex Gaynor [soc2010/query-refactor] Added tests for slicing and count. 9a895a6
Alex Gaynor [soc2010/query-refactor] Implemented __in. 3efa619
Alex Gaynor [soc2010/query-refactor] Implemented __regex and __iregex. 0ba2e50
Jul 01, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13405. 183c290
Alex Gaynor [soc2010/query-refactor] Fixed a number of issues under postgresql. 7dcb95a
Alex Gaynor [soc2010/query-refactor] Remove some nastiness from db_type() f70c998
Jul 13, 2010
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13425. 317010e
Alex Gaynor [soc2010/query-refactor] Implemented F() expressions for MongoDB. d83203c
Alex Gaynor [soc2010/query-refactor] Fixed querying for objects by their related …
…objects (by their primary keys).

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
536a5ca
Jul 17, 2010
Alex Gaynor [soc2010/query-refactor] Ensure that calling close() doesn't blow up …
…if a connection was never opened.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
59089a7
Alex Gaynor [soc2010/query-refactor] Implemented deletion. Thanks to Josh Ourisma…
…n for pointing this out.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
485bfe4
Jul 19, 2010
Alex Gaynor [soc2010/query-refactor] On unsupported operations raise a useful exc…
…eption.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
a35cbdb
Alex Gaynor [soc2010/query-refactor] Provide a more useful error message on disju…
…nctions.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9c6e1c8
Jul 20, 2010
Alex Gaynor [soc2010/query-refactor] Added a ListField, currently only works on M…
…ongoDB.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9944d8d
Alex Gaynor [soc2010/query-refactor] Added a forgotten file from r13441. 9b263c6
Aug 09, 2010
Alex Gaynor [soc2010/query-refactor] Improved the ListField implementation, and a…
…dded an EmbeddedModelField.

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
c7bd48c
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13556, resolved merge co…
…nflicts

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
6001ba0