summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2010-03-12[1.1.X] Fixed #11801 -- Corrected form validation to ensure you can still ↵Russell Keith-Magee
get deleted_forms and ordered_forms when a form that is being deleted doesn't validate. Thanks to dantallis for the report and patch. Backport of r12771 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-12[1.1.X] Fixed #11891 -- Ensured that attributes of get_absolute_url are ↵Russell Keith-Magee
preserved through the metaclass. Thanks to nfg for the report and patch. Backport of r12766 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-12[1.1.X] Fixed #13093 -- Updated some decorators and the ↵Russell Keith-Magee
decorator_from_middleware function to allow callable classes to be decorated. Thanks to Brian Neal for the report. Backport of r12762 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-11[1.1.X] Python 2.3 doesn't do decorators.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-09[1.1.X] Fixed #12048 - MultiWidget does not define `__deepcopy__`Luke Plant
Thanks to powderflask for report, test case and initial patch. Backport of [12739] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-09[1.1.X] Fixed #11183 - BaseForm init leaves pointers pointing back to ↵Luke Plant
base_fields Thanks to margieroginski for the report Backport of [12733] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-09[1.1.X] Fixed #12689: Fixed admin validation to report an error on invalid ↵Karen Tracey
exclude specification. Thanks for report to bparker and for patch with tests to ramiro. r12734 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Fixed #12024: Changed admin code to avoid raising an exception when ↵Karen Tracey
a field listed in raw_id_fields has limit_choices_to specified as a Q object. Tweaked a test to trigger the condition and verify the fix. Finally, documented that limit_choices_to specified as a Q object has no effect on the choices available for fields listed in raw_id_fields, and removed another incorrect note that claimed limit_choices_to had no effect on inlines in the admin. r12728 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Fixed #11461: Ensured complete traceback is available on the debug ↵Karen Tracey
page when an exception is encountered during template rendering, even when running on Python 2.6 or higher. Thanks Glenn. r12725 and r12726 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Move the tests added for #12302 to where some other tests for debug ↵Karen Tracey
page responses already existed. r12723 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Fixed #11940 - ModelForm evaluates callable default values on form ↵Luke Plant
class creation Thanks to Harm Geerts for the report and initial patch. Backport of [12721] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Fixed #12240 - select_related doesn't work correctly when mixing ↵Luke Plant
nullable and non-nullable keys Thanks to embe for report and Alex for fix. Backport of 12719 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08[1.1.X] Made a few Python 2.3 compatibility test fixes.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-07[1.1.X] Fixed #6228: Changed common middleware to respect request-specific ↵Karen Tracey
urlconf. Thanks trey, skevy, and mikexstudios. r12704 and r12705 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-07[1.1.X] Fixed #12858. DateTime related widgets now handle custom formats ↵Joseph Kocherhans
properly in _has_changed. Backport of r12698 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-07[1.1.X] Fixed #12913. Fields with choices now respect show_hidden_initial as ↵Joseph Kocherhans
a keyword argument to formfield. Backport of r12696 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06[1.1.X] Fixed #12734. Deferred fields will now be properly converted to ↵Joseph Kocherhans
python when accessed. Backport of r12579 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06[1.1.X] Fixed #6918, #12791: If an email message has an encoding, actually ↵Karen Tracey
use that encoding to encode body and headers. Thanks for patch with tests oyvind. Backport of r12683 and r12688 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-05[1.1.X] Fixed #12151: Ensured the comments code does not cause a server ↵Karen Tracey
error when a request comes in for a comment specifying an invalid primary key value. Thanks thejaswi_puthraya. r12681 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-05[1.1.X] Fixed #12083: Ensured generating debug 404 page won't raise a key ↵Karen Tracey
error. Thanks pigletto. r12679 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03[1.1.X] Expanded the fix in [12663] to cover CSS declarations, which were ↵James Bennett
also affected by the bug. Refs #12879. Backport of [12665] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-03[1.1.X] Fixed #12879: Declaring the same JS file multiple times in a single ↵James Bennett
Media instance now only includes that file once. Backport of [12663] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02[1.1.X] Fixed #12898: Reverted a change that assumed the file system ↵Karen Tracey
encoding was utf8, and changed a test to demonstrate how that assumption corrupted uploaded non-ASCII file names on systems that don't use utf8 as their file system encoding (Windows for one, specifically). Thanks for the report to vrehak. r12661 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02[1.1.X] Fixed #11522: Restored ability of http redirect responses to ↵Karen Tracey
correctly handle redirect locations with non-ASCII chars. r12659 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02[1.1.X] Fixed #6510 -- Refactored the way child nodes are found in template ↵Russell Keith-Magee
nodes to avoid potential inconsistencies. Thanks to SmileyChris for the patch. Backport of r12654 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02[1.1.X] Fixed #11710: Made a small test change to ensure utf-8 bytestrings ↵Karen Tracey
in verbose_names don't cause a server error when the admin change log message is built. The necessary code fix was made for #12966 in r12627. Thanks Rupe. r12650 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-02[1.1.X] Fixed #11465: Ensure nonexistent pks enterd in an admin raw id field ↵Karen Tracey
do not cause a server error. Thanks for report and initial patch sacre@wp.pl. Backport of r12648 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01[1.1.X] Fixed #11012: don't needless convert cache values to unicode.Jacob Kaplan-Moss
This means you can now successfully store binary blogs, such as compressed data, in the cache. Thanks to Matt Croydon for the final patch. Backport of [12637] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01[1.1.X] Fixed #11791: Put hidden input elements in the change list inside td ↵Karen Tracey
elements so they're valid HTML. Thanks panni and mlavin. r12631 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-28[1.1.X] Fixed #12302: Modified force_unicode to avoid raising unicode errors ↵Karen Tracey
when handed exceptions with non-ASCII bytestring data and no working unicode method under Python 2.6 and higher. r12621 and r12622 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed #5971 - Fixed inconsistent behaviour of the TokenParser when ↵Jannis Leidel
parsing filters that follow constant strings or variables. Thanks Dmitri Fedortchenko, Adam Vandenberg and Ramiro Morales. Backport of r12471. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed #11384 - Make sure translations in the project directory ↵Jannis Leidel
really override translations in apps as specified in the docs. Backport of r12447. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Added force_unicode to a test (needed for Python 2.3 compatibility).Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed #1480 -- Added the ability to use the system timezone. Thanks ↵Russell Keith-Magee
to Ramiro Morales for the patch. Backport of r12602 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed #6191, #11296 -- Modified the admin deletion confirmation page ↵Russell Keith-Magee
to use the same object collection scheme as the actual deletion. This ensures that all objects that may be deleted are actually deleted, and that cyclic display problems are avoided. Thanks to carljm for the patch. Backport of r12598 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed #11226 -- Corrected an validation edge case with m2m relations ↵Russell Keith-Magee
between two models with the same class name. Thanks to pkoch for the report, and to Ramiro Morales for the patch. Backport of r12489 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26[1.1.X] Fixed a bunch of Python 2.3 incompatibilities that had crept into ↵Karen Tracey
the 1.1.X branch. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-25[1.1.X] Fixed #12910 - Only test extracting translation strings if xgettext ↵Jannis Leidel
can be found on PATH. Backport from r12475. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24[1.1.X] Fixed #12119. Changed smart_split to stop splitting on whitespace in ↵Joseph Kocherhans
quotes. Backport of r12581 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24[1.1.X] Fixed #12546. Objects with a __len__ that returns 0 can now be ↵Joseph Kocherhans
serialized. Thanks, casobn for the report and Alex Gaynor for the patch and tests. Backport of r12576 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24[1.1.X] Fixed #12818. SQLite now properly quotes strings for date extraction ↵Joseph Kocherhans
and truncation. Backport of r12573 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #9336. Changed CheckboxInput to render 'True' and 'False' ↵Joseph Kocherhans
input strings as checked or not instead of as a value attribute. Backport of r12556 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.x] Fixed #12878. Formset-wide errors are now rendered properly as html. ↵Joseph Kocherhans
Backport of r12548 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #12070. Fixed a case where var._whatever wasn't raising a ↵Joseph Kocherhans
TemplateSyntaxError. Backport of r12539 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #12561. InlineAdmin now respects can_delete=False. Backport of ↵Joseph Kocherhans
[12533] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #12285. ModelForm raises a more informative error if it ↵Joseph Kocherhans
doesn't have a model class defined. Backport of [12526] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #11860. Changed NullBooleanSelect's _has_changed method to ↵Joseph Kocherhans
repect differences between None and False. Backport of [12523] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23Fixed #12855 -- QuerySets? with extra where parameters now combine ↵Justin Bronn
correctly. Thanks, Alex Gaynor. Backport of r12502 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23[1.1.X] Fixed #12820. Implemented other dict methods for MergeDict. Backport ↵Joseph Kocherhans
of [12498] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22[1.1.X] Fixed #11687: the `add` filter is now less failsome when faced with ↵Jacob Kaplan-Moss
things that can't be coerced to integers. Backport of [12497] from trunk, although the fix here is slightly different to avoid adding new behavior to a bugfix branch. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12499 bcc190cf-cafb-0310-a4f2-bffc1f526a37