summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-08-09[soc2010/query-refactor] Merged up to trunk r13556, resolved merge conflictsarchive/soc2010/query-refactorAlex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-09[soc2010/query-refactor] Improved the ListField implementation, and added ↵Alex Gaynor
an EmbeddedModelField. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-20[soc2010/query-refactor] Added a ListField, currently only works on MongoDB.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-19[soc2010/query-refactor] Provide a more useful error message on disjunctions.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-19[soc2010/query-refactor] On unsupported operations raise a useful exception.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17[soc2010/query-refactor] Implemented deletion. Thanks to Josh Ourisman for ↵Alex Gaynor
pointing this out. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17[soc2010/query-refactor] Ensure that calling close() doesn't blow up if a ↵Alex Gaynor
connection was never opened. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-13[soc2010/query-refactor] Fixed querying for objects by their related objects ↵Alex Gaynor
(by their primary keys). git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-13[soc2010/query-refactor] Implemented F() expressions for MongoDB.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-01[soc2010/query-refactor] Merged up to trunk r13405.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Implemented __regex and __iregex.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Implemented __in.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Added tests for slicing and count.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Fixed Querysets in MongoDB with a limit of 0.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Implemented __gt.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-22[soc2010/query-refactor] Fixed __isnull.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21[soc2010/query-refactor] Implemented values (and values_list).Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21[soc2010/query-refactor] Implemented slicing, also found a bug in ↵Alex Gaynor
MongoDB/PyMongo. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21[soc2010/query-refactor] Implemented order_by, also fixed a typo in "The ↵Alex Gaynor
Beatles", sorry. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-21[soc2010/query-refactor] Clean up the implementation of lookup_type, added ↵Alex Gaynor
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[soc2010/query-refactor] Cleaned up implementation of negation in MongoDB, ↵Alex Gaynor
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[soc2010/query-refactor] Merged up to trunk r13366.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19[soc2010/query-refactor] Implemented __lt lookups for MongoDB.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-19[soc2010/query-refactor] Implemented not equal (exclude(foo=bar)) in the ORM ↵Alex Gaynor
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-16[soc2010/query-refactor] Introduced tests to show that ForeignKeys work ↵Alex Gaynor
correctly. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-14[soc2010/query-refactor] Implemented count() (and by extension the Count() ↵Alex Gaynor
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[soc2010/query-refactor] Merged up to trunk r13350.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09[soc2010/query-refactor] Implement querying, thereby providing that update ↵Alex Gaynor
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[soc2010/query-refactor] MongoDB backend can now update saved objects.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-09[soc2010/query-refactor] Introced NativeAutoField, also started with some ↵Alex Gaynor
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[soc2010/query-refactor] Merged up to trunk r13336.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-07[soc2010/query-refactor] Merged up to trunk r13328.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2010/query-refactor@13329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-23Fixed #13592 -- Make sure the SelectDateWidget works with dates before 1900 ↵Jannis Leidel
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-21Fixed #13560 -- Fixed localization of widgets.Jannis Leidel
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-21Fixed #13573 -- Corrected problem with template caching when template ↵Russell Keith-Magee
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-16Fixed #13547 -- Made sure the ISO 8601 date formatting introduced in r12058 ↵Jannis Leidel
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-13Fixed #13514 -- Corrected the process of loading multiple javascript ↵Russell Keith-Magee
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-12Fixed #13524 -- Added backwards compatibility and feature notes regarding ↵Russell Keith-Magee
admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11Fixed #13513 -- Ensured that queries collecting deleted objects are issued ↵Russell Keith-Magee
on the right database, especially when dealing with m2m intermediate tables. Thanks to gavoja for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #13509 -- Modified the comment tests so that signal cleanup doesn't ↵Russell Keith-Magee
rely on garbage collection. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13469 -- Cleaned up the test case from r13085, and added some cache ↵Russell Keith-Magee
cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and ↵Russell Keith-Magee
workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #13464 -- Reworked module_has_submodule to break the requirement for ↵Russell Keith-Magee
loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13166 - Added JavaScript warnings to admin changelist to help against ↵Jannis Leidel
ambiguity between action and list_editable form submission. Thanks to blinkylights and aaugustin for the report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02Fixed #13388 - Refined changes made in r12384 in the JavaScript i18n admin view.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30Fixed #12851 -- Another attempt at fixing select_related() with inherited ↵Russell Keith-Magee
models, this time with only(). Thanks to phxx for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30Fixed #12851 -- Corrected the loading of values when select_related() is ↵Russell Keith-Magee
used on inherited models. Thanks to phxx for the report and test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed a bug preventing cursor variables from being passed as bind parameters ↵Ian Kelly
in the oracle backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed #12986 -- Ensured that SelectDateField repopulates correctly when ↵Russell Keith-Magee
USE_L10N=True and locale has a default date input format other than %Y-%m-%d. Thanks to wim@go2people.nl for the report, and walteralini for his draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28Fixed #13432 -- Corrected the logic for router use on OneToOne fields; also ↵Russell Keith-Magee
added a bunch of tests for OneToOneField queries. Thanks to piquadrat for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13037 bcc190cf-cafb-0310-a4f2-bffc1f526a37