summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-04-15Fixed a test failure under Postgres caused by primary key sequence allocation.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-15Fixed #13328 -- Added a __getstate__/__setstate__ pair to fields so that ↵Russell Keith-Magee
callable default values aren't pickled. Thanks to bkonkle for the report, and Vitaly Babiy for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed Python 2.4 incompatibility introduced in r12972.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed #13335: Adjusted the r12950 fix to properly handle import errors ↵Karen Tracey
resulting from nested calls to load_app. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #13227 -- Ensure that the query cache is flushed when a QuerySet is ↵Russell Keith-Magee
deepcopied, avoiding problems when an evaluated queryset is used as a subquery. Thanks to claudep for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-13Fixed #12903 - Made translating the admin action selection text easier. ↵Jannis Leidel
Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #13229 -- Corrected a test failure caused by the change in Finnish ↵Russell Keith-Magee
municipalities from r12958. Thanks to Karen for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12962 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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Refs #13167 -- Corrected a regression in the way non-existent variables are ↵Russell Keith-Magee
handled by {% if %} tags. Thanks to ohmi2 for pointing out the regression in 1.2, and Karen for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #11696: Changed app loading code so that it does not swallow import ↵Karen Tracey
errors that used to be (prior to r10088) raised. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-11Fixed #13301 -- Corrected problem with capitalization of changelist row ↵Russell Keith-Magee
headers in admin. Thanks to emyller for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-11Fixed #13298 -- Modified test assertion to ensure that javascript variables ↵Russell Keith-Magee
aren't mistakenly identified as <input> HTML tags. Thanks to mk for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-10Fixed #13275 -- Modified the parsing logic of the {% url %} tag to avoid ↵Russell Keith-Magee
catastrophic backtracking. Thanks to SmileyChris for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-09Fixed #13309 -- Ensure that delete() deletes everything it should delete(). ↵Russell Keith-Magee
Thanks to craig.kimerer@gmail.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-09Fixed #13308 -- Ensured that dumpdata correctly interacts with router ↵Russell Keith-Magee
allow_syncdb directions. Thanks to Francis (wizard_2) for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-09Fixed #13293 -- Corrected a problem with the MySQL handling of boolean ↵Russell Keith-Magee
return values when a query has an extra() clause. Thanks to mk for the report and draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05Fixed #13038 -- Ensured that readonly fields in the admin have their name ↵Russell Keith-Magee
added as a CSS class. Thanks to andybak for the report, and javimansilla, fisadev and fgallina for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05Fixed #11949 -- Added a hook to allow ModelAdmin customization of the delete ↵Russell Keith-Magee
selected template. Thanks to bendavis78 for the report and patch, and Ramiro Morales for his cleanup work. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-04Tweaked a test model in delete_regress to avoid having a column name that ↵Karen Tracey
causes a failure on Oracle. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-04Fixed #13082 -- Slight modification to an Oracle test to avoid a problem ↵Russell Keith-Magee
cause by teardown behavior. Thanks to stvsmth for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-04Fixed #12328 -- Corrected the handling of subqueries with ordering and ↵Russell Keith-Magee
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). git-svn-id: http://code.djangoproject.com/svn/django/trunk@12912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-02Fixed #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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-01Fixed #13259 -- Ensure that multiple calls to message() don't corrupt any ↵Russell Keith-Magee
extra message headers. Thanks to canburak for the report, and Andi Albrecht for the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-01Fixed #7190 -- Corrected a problem with Boolean value handling on the MySQL ↵Russell Keith-Magee
backend. Thanks to George Vilches for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-31Fixed #11916 -- Corrected handling of aggregation when there is a subquery ↵Russell Keith-Magee
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-31Fixed #13250 -- Corrected a problem with the use of routing rules on the ↵Russell Keith-Magee
create() call on a Foreign Key. Thanks to chris@xlevus.net for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-30Fixed #12945 -- Corrected the parsing of arguments in {% url %} when the ↵Russell Keith-Magee
argument list has spaces between commas. This is a revised version of r12503, which was a fix for #12072. Thanks to SmileyChris for the patch, and to dmoisset for finding all the places in the docs that the old style syntax was used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-29Fixed #13239 -- Forced the deletion of the Popen object, avoiding a bug in ↵Russell Keith-Magee
Python's subprocess cleanup code. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13023 - Removed ambiguity with regard to the max_num option of ↵Jannis Leidel
formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13032 - Added localize parameter to form fields to be able to ↵Jannis Leidel
selectively enable localization. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #12769, #12924 -- Corrected the pickling of curried and lazy objects, ↵Russell Keith-Magee
which was preventing queries with translated or related fields from being pickled. And lo, Alex Gaynor didst slayeth the dragon. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27Fixed #13227 -- Modified ForeignKeys to fully honor the db_prep/prep ↵Russell Keith-Magee
separation introduced by multidb. This was required to ensure that model instances aren't deepcopied as a result of being involved in a filter clause. Thanks to claudep for the report, and Alex Gaynor for the help on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-26Fixed #13174 -- Fixed missing field label for `readonly_fields` when used in ↵Gary Wilson Jr
`StackedInline`, thanks to benc for the report and ptone for the investigation and initial patch. * Corrected `InlineAdminForm.__init__` to pass along `model_admin` parameter in `super` call. * Lookup the field label in the form's model, not the `model_admin` model. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-26Fixed #12594 -- Ensured that a meaningful exception is raised when the ↵Russell Keith-Magee
urlconf_module is None. Thanks to buriy for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23Fixed #13173: Made the admin_scripts tests pass when the running python ↵Karen Tracey
executable has a space in its pathname. Thanks gabrielhurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23Fixed #12612 -- Corrected handling of parameter formatting in SQLite backend ↵Russell Keith-Magee
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-22Fixed #12554 again: Corrected regression in silencing attribute lookups ↵Karen Tracey
introduced in r12823, plus added a test for this so it doesn't regress again. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-22Fixed #12764: Avoid exceeding psycopg1 limits in the views tests.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21Fixed #12822: Don't copy the _aggregate_select_cache when cloning a query set,Karen Tracey
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21Fixed #13004: Ensure the add page for a model with a ManyToManyField specifiedKaren Tracey
in readonly_fields does not raise an exception. Thanks hejsan, mlavin, copelco. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21Fixed #12778 - Added media handling abilities to admin inlines. Thanks for ↵Jannis Leidel
the patch, pmclanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #12554: Silence exceptions that have specified ↵Karen Tracey
silent_variable_failure=True. Thanks Thomas Steinacher, copelco, mlavin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #12239: Fixed results of gte and lt queries when comparing floats to ↵Karen Tracey
integer field values. Thanks waverider, aroy, SmileyChris, and pmclanahan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #12851 -- Corrected the interaction of defer() with select_related(). ↵Russell Keith-Magee
Thanks to ruosteinen for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #13054 - Only apply grouping to integer part of numbers if explicitly ↵Jannis Leidel
wanted. Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #12937 -- Corrected the operation of select_related() when following ↵Russell Keith-Magee
an reverse relation on an inherited model. Thanks to subsume for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #12962: Made admin delete action work again. Thanks ptone, skevy, ↵Karen Tracey
mlavin and anyone else I've missed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed #13156 -- Ensure that exists() queries are as fast as they can be. ↵Russell Keith-Magee
Thanks to Jerome Leclanche for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-19Fixed #13152 -- Ensure the test client saves the session before writing the ↵Russell Keith-Magee
session key to the cookie, in case the session engine changes the session key. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-18Fixed #13030 -- Corrected natural key deserialization to subclasses. Thanks ↵Russell Keith-Magee
to yishaibeeri for the report and test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12804 bcc190cf-cafb-0310-a4f2-bffc1f526a37