Branches

soc2010/query-refactor

View source
soc2010/query-refactor
Author Commit Message Labels Comments Date
250+ commits behind default.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13556, resolved merge conflicts
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Improved the ListField implementation, and added an EmbeddedModelField.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Added a forgotten file from r13441.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Added a ListField, currently only works on MongoDB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Provide a more useful error message on disjunctions.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] On unsupported operations raise a useful exception.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented deletion. Thanks to Josh Ourisman for pointing this out.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Ensure that calling close() doesn't blow up if a connection was never opened.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fixed querying for objects by their related objects (by their primary keys).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented F() expressions for MongoDB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13425.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Remove some nastiness from db_type()
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fixed a number of issues under postgresql.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13405.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented __regex and __iregex.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented __in.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Added tests for slicing and count.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fixed Querysets in MongoDB with a limit of 0.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented __gt.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fixed __isnull.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented values (and values_list).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented slicing, also found a bug in MongoDB/PyMongo.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented order_by, also fixed a typo in "The Beatles", sorry.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Clean up the implementation of lookup_type, added more tests, and killed code that wasn't tested.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Cleaned up implementation of negation in MongoDB, and no longer rely on a feature from MongoDB unstable version.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13366.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented __lt lookups for MongoDB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fix an amusing typo (didn't break anything, was just stupid). Thanks to Waldemar Kornewald for the report.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Introduced tests to show that ForeignKeys work correctly.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implemented count() (and by extension the Count() aggregate on the primary key).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Cleaned up a TODO in the flush management command, and the resulting landslide of bugs this unveiled in the MongoDB backend.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13350.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Fixed update on MongoDB.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implement querying, thereby providing that update wasn't working (not fixed yet).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] MongoDB backend can now update saved objects.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Added a file with a running list of considerations before a merge.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13336.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Cleaned up the implementation of compiler's has_results method.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Moved has_results (implementation of exists()) onto the compiler, where it belongs.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Small change so that insertions with an explicit primary key should work.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Refactor, and implement a few more methods to get models saving under the mongodb backend.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Implement a few methods to the point of tests actually running under mongodb (all failing of course).
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[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.
Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
[soc2010/query-refactor] Merged up to trunk r13328.
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Created SoC query-refactor branch.