Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 47 commits
  • 201 files changed
  • 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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Refactor, and implement a few more methods t…
…o get models saving under the mongodb backend.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Small change so that insertions with an expl…
…icit primary key should work.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Moved has_results (implementation of exists(…
…)) onto the compiler, where it belongs.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Cleaned up the implementation of compiler's …
…has_results method.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Added a file with a running list of consider…
…ations before a merge.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Implemented count() (and by extension the Co…
…unt() aggregate on the primary key).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jun 16, 2010
Alex Gaynor [soc2010/query-refactor] Introduced tests to show that ForeignKeys wo…
…rk correctly.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Implemented order_by, also fixed a typo in "…
…The Beatles", sorry.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Implemented slicing, also found a bug in Mon…

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Implemented deletion. Thanks to Josh Ourisma…
…n for pointing this out.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jul 19, 2010
Alex Gaynor [soc2010/query-refactor] On unsupported operations raise a useful exc…

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Provide a more useful error message on disju…

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Jul 20, 2010
Alex Gaynor [soc2010/query-refactor] Added a ListField, currently only works on M…

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Alex Gaynor [soc2010/query-refactor] Merged up to trunk r13556, resolved merge co…

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37