summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-05-13[1.1.X] Fixed #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. Backport of r13250 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10[1.1.X] Fixed #13509 -- Modified the comment tests so that signal cleanup ↵Russell Keith-Magee
doesn't rely on garbage collection. Thanks to Alex Gaynor for the report and patch. Backport of r13204 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04[1.1.X] Fixed #13469 -- Cleaned up the test case from r13085, and added some ↵Russell Keith-Magee
cache cleanup that matters for Python 2.3. Thanks to Karen and Alex for their help. Backport of r13095 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04[1.1.X] Fixed some Python 2.3 incompatibilities in new tests.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04[1.1.X] Fixed #13464 -- Reworked module_has_submodule to break the ↵Russell Keith-Magee
requirement for loader and finder to be the same class. Thanks to Alex Gaynor for the report and patch, and Brett Cannon for suggesting the approach. Backport of r13082 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-02[1.1.X] Fixed #13388 - Refined changes made in r12384 in the JavaScript i18n ↵Jannis Leidel
admin view. Backport of r13069 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30[1.1.X] Fixed #12851 -- Another attempt at fixing select_related() with ↵Russell Keith-Magee
inherited models, this time with only(). Thanks to phxx for the test case. Backport of r13059 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13060 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-30[1.1.X] Fixed #12851 -- Corrected the loading of values when ↵Russell Keith-Magee
select_related() is used on inherited models. Thanks to phxx for the report and test case. Backport of r13054 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28[1.1.X] Fixed a bug preventing cursor variables from being passed as bind ↵Ian Kelly
parameters in the oracle backend. Backport of r13042 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-27Python 2.3 compatibility: Fixed a test to only run under 2.4+, since it ↵Karen Tracey
fails due to a Ptyhon problem under 2.3. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-24[1.1.X] Fixed #13362 -- Disabled the test for bug #8245 under Python 2.3 due ↵Russell Keith-Magee
to differences in exception handling. Backport of r13021 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-23[1.1.X] Fixed #11764 -- Added a missing set of parentheses in a call ↵Russell Keith-Magee
calculating the select_related tables. Thanks to aurelio for the report and original patch, and wogan for the updated patch. Backport of r13019 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-22[1.1.X] Python 2.3 compatibility: we still need the special sets import here.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21[1.1.X] Fixed #13396 -- Modified the SQLite introspection code to avoid a ↵Russell Keith-Magee
problem with unconsumed cursors on PyPy. Thanks to Alex Gaynor for the report and fix. Backport of r13016 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-21[1.1.X] Fixed #13389 -- Ensured that the app_loading test clears out the app ↵Russell Keith-Magee
cache at the end of each test, so that it doesn't interact badly with flush and other introspected database commands. Thanks to Karen for the report, and Ramiro Morales for the debugging hints. Backport of r13011 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20[1.1.X] Adjust the fr.py localflavor tests to account for r13007. Karen Tracey
Merge of applicable part of r13008. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20[1.1.X] Fixed #13382 -- Modified a message used for testing purposes to ↵Russell Keith-Magee
allow test passes under PyPy. Thanks to Alex Gaynor for the report and patch. Backport of r13003 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-16[1.1.X] Fixed #13360: For Python2.3 compatbility, don't pass iterators to ↵Karen Tracey
sorted. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-16[1.1.X] Fixed #13357 -- Minor changes to get Django running under PyPy. ↵Russell Keith-Magee
Thanks to Alex Gaynor for the patch. Backport of r12991 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15[1.1.X] Fixed #13345: Don't attempt to load the locale regressiontests ↵Karen Tracey
subdirectory as a Django app. Thanks ramiro. r12971 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15[1.1.X] Fixed #13353: Corrected a couple of tests that were dependent on ↵Karen Tracey
dictionary ordering. Thanks Alex. r12984 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15[1.1.X] Fixed #13348: Restored ability to load models from apps in eggs. ↵Karen Tracey
Thanks Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule. r12982 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14[1.1.X] Fixed Python 2.4 incompatibility introduced in r12973.Karen Tracey
r12947 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14[1.1.X] Fixed #13335: Adjusted the r12950 fix to properly handle import ↵Karen Tracey
errors resulting from nested calls to load_app. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13[1.1.X] Refs #13227 -- Partial backport of r12865; backported the changes to ↵Russell Keith-Magee
Where tree cloning logic to ensure that unclonable objects in a where() clause don't break querying. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12[1.1.X] Added Pyton 2.3 compatibility import for use of set by some new tests.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12[1.1.X] Fixed #12142 -- EmptyQuerySet.update() no longer updates all rows in ↵Karen Tracey
the database r12171 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #11957 -- exceptions in admin.py are no longer hidden after second requestBrian Rosner
Before you had to restart runserver for the correct exception message to show up again. Reverts fix in r9680 which has this side-affect. Thanks to jarrow, carljm and ramiro for their work on the patch and tickets. Backport of r12956 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12[1.1.X] Fixed #13309 -- Ensure that delete() deletes everything it should ↵Russell Keith-Magee
delete(). Thanks to craig.kimerer@gmail.com for the report Backport of r12941 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12[1.1.X] Fixed #11696: Changed app loading code so that it does not swallow ↵Karen Tracey
import errors that used to be (prior to r10088) raised. r12950 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06Fixed test failure that was occurring since r12909Luke Plant
The tests were relying on being able to do ManyToManyField("NameOfThisModel") instead of the only documented method for recursive relationships, namely ManyToManyField("self"). The former stopped working when the fix in r12909 was applied. Backport of r12932 from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05[1.1.X] Added file mistakenly ommitted from r12917Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05[1.1.X] Fixed #11949 -- Added a hook to allow ModelAdmin customization of ↵Russell Keith-Magee
the delete selected template. Thanks to bendavis78 for the report and patch, and Ramiro Morales for his cleanup work. Backport of r12916 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-04[1.1.X] Fixed #12328 -- Corrected the handling of subqueries with ordering ↵Russell Keith-Magee
and slicing, especially when used in delete subqueries. Thanks to Walter Doekes for the report. This fixes a feature that isn't available under MySQL and Oracle (Refs #10099). Backport of r12912 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-03[1.1.X] Fixed #12247 -- Corrected the way update queries are processed when ↵Russell Keith-Magee
the update only refers to attributes on a base class. Thanks to jsmullyan for the report, and matiasb for the fix. Backport of r12910 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-02[1.1.X] Fixed #11956 -- Modified the handling of m2m relationships between ↵Russell Keith-Magee
subclasses. Thanks to nidi for the report, and astoneman for the suggestion on how to fix the problem. Backport of r12908 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-01[1.1.X] Fixed #13259 -- Ensure that multiple calls to message() don't ↵Russell Keith-Magee
corrupt any extra message headers. Thanks to canburak for the report, and Andi Albrecht for the fix. Backport of r12901 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-31[1.1.X] Fixed #11916 -- Corrected handling of aggregation when there is a ↵Russell Keith-Magee
subquery provided in an extra(select=) clause. Thanks to jaklaassen@gmail.com for the report, and to tobias, paluh, Karen Tracey and Ian Kelly for their work on the fix. Backport of r12896 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-31[1.1.X] Restored pre-r10062 behavior allowing None from formfield_callback ↵Brian Rosner
to exclude itself from the form Backported from r12891 from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27[1.1.X] Fixed #12778 - Added media handling abilities to admin inlines. ↵Jannis Leidel
Thanks for the patch, pmclanahan. Backport from trunk, r12825. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-26[1.1.X] Fixed #12594 -- Ensured that a meaningful exception is raised when ↵Russell Keith-Magee
the urlconf_module is None. Thanks to buriy for the report and patch. Backport of r12854 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-25[1.1.X] Modified the delete test to clean up after itself properly, so that ↵Russell Keith-Magee
the proxy_model_inheritance test can run without requiring manual confirmation. Backport of r12850 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-25[1.1.X] Fixed #12286 -- Modified the test case added in r12828 so that it ↵Russell Keith-Magee
passes under Postgres. Backport of r12846 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23[1.1.X] Fixed #13173: Made the admin_scripts tests pass when the running ↵Karen Tracey
python executable has a space in its pathname. Thanks gabrielhurley. r12842 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23[1.1.X] Fixed #13171 -- Corrected the field_subclassing unit test. Thanks to ↵Russell Keith-Magee
Gabriel Hurley for the report and patch. Backport of r12838 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23[1.1.X] Fixed #12612 -- Corrected handling of parameter formatting in SQLite ↵Russell Keith-Magee
backend so that executemany raises exceptions when bad parameter counts are provided. Thanks to Niels <niels@pythonheads.nl> for the report, and Gabriel Hurley for the help narrowing down the problem. Backport of r12836 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-22[1.1.X] Fixed #12554 again: Corrected regression in silencing attribute ↵Karen Tracey
lookups introduced in r12824, plus added a test for this so it doesn't regress again. r12834 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-22[1.1.X] Fixed #12764: Avoid exceeding psycopg1 limits in the views tests.Karen Tracey
r12832 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21[1.1.X] Fixed #12822: Don't copy the _aggregate_select_cache when cloning a ↵Karen Tracey
query set, as that can lead to incorrect SQL being generated for the query. Thanks to mat for the report and test, tobias for the fix, and Alex for review. r12830 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21[1.1.X] Fixed #12286: Ensure proxied model's table is created.Karen Tracey
Thanks to telenieko for the report and flyingfred0 for test and fix. Test is r12828 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12829 bcc190cf-cafb-0310-a4f2-bffc1f526a37