summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2012-04-20Fixed #17615 -- Corrected unique field validation when using multitable ↵Anssi Kääriäinen
inheritance. The validation used wrong pk value if the parent and child model had different pk fields. Thanks ungenio for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-14Converted more test assertions to assert[Not]Contains.Claude Paroz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-12Fixed #18002 -- Fixed typo in attribute name in ↵Claude Paroz
ReverseSingleRelatedObjectDescriptor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11Fixed #18027 -- Removed an HTMLParser test that doesn't raise any more in ↵Claude Paroz
recent Python versions. Thanks Arfever and Anssi Kaariainen for the report and the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11Fixed #18071 -- Ignored case sensitivity in urlize utility. Thanks ↵Claude Paroz
luke@creaturecreative.com and adamzap for the report and the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-10Fixed #17229 -- Allow 'True', 'False' and 'None' to resolve to the ↵Aymeric Augustin
corresponding Python objects in templates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-10Fixed #18087 -- Prevented date-based generic views from loading entire ↵Aymeric Augustin
tables in memory when pagination is enabled. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-10Made the caching of related and reverse related objects consistent in ↵Aymeric Augustin
OneToOneFields. Fixed #13839. Refs #17439. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09Fixed #17864 -- Added Hong Kong localflavor. Thanks to mrkschan and Adrien ↵Julien Phalip
Lemaire. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09Fixed #17848 -- Added setting_changed signal for cases when ↵Claude Paroz
TEMPLATE_CONTEXT_PROCESSORS is overriden in tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09Fixed #18086 -- Restored '-pk' as the default order in the admin changelist. ↵Julien Phalip
This rectifies a slight change in behavior introduced in Django 1.4 and r17635. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09Fixed #17877 -- Ensured that extra WHERE clauses get correctly ANDed when ↵Julien Phalip
they contain OR operations. Thanks to Marek Brzóska for the report, to eleather for the test case and to Adrien Lemaire for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-08Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official ↵Claude Paroz
deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-07Fixed #15683 -- Prevented escaped string to be needlessly marked safe twice ↵Claude Paroz
in force_escape filter. Thanks tyrion for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-06Fixed #16074 -- Added ContextMixin to class-based generic views to handle ↵Claude Paroz
get_context_data. Thanks emyller, Luke Plant, Preston Holmes for working on the ticket and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-05Fixed #15644 -- Improved Django File wrapper to support more file-like ↵Claude Paroz
objects. Thanks nickname123 and Michael Palumbo for working on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-05Fixed #17938 -- Made explicit object ordering in LiveServerDatabase test ↵Claude Paroz
assertion. Thanks Nate Bragg for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #18040 -- Removed so-called project-level locale trees from the list ↵Ramiro Morales
of paths the translation loading process takes in account. Deprecated in Django 1.3. Removed completely for Django 1.5. Thanks Claude for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed some more useless code related to the verify_exists removal.Claude Paroz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #17972 -- Ensured that admin filters on a foreign key respect the ↵Julien Phalip
`to_field` attribute. This fixes a regression introduced in [14674] and Django 1.3. Thanks to graveyboat and Karen Tracey for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed some more imports/warnings useless after recent removals.Claude Paroz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed deprecated tests missed in r17839.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed deprecated URLField.verify_exists.Aymeric Augustin
The deprecation schedule was slightly accelerated because of possible security ramifications. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Extended TrailingSlashURLTests to cover STATIC_URL as well as MEDIA_URL.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Required that the MEDIA_URL and STATIC_URL settings end with a slash, per ↵Aymeric Augustin
the deprecation timeline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed the deprecated reset and sqlreset management commands.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Removed deprecated DjangoTestRunner.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #18029 -- Removed mod_python as of deprecation process. Thanks Aymeric ↵Claude Paroz
Augustin for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for ↵Claude Paroz
the initial patch and Aymeric Augustin for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30Removed some Python < 2.6 compatibility code. Refs #17965.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30Use the class decorator syntax available in Python >= 2.6. Refs #17965.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30Removed with_statement imports, useless in Python >= 2.6. Refs #17965. ↵Claude Paroz
Thanks jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-22Fixed #17937 -- Avoided an error in the timeuntil filter when it receives a ↵Aymeric Augustin
date object. Thanks Dmitry Guyvoronsky for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-21Fixed #17920 -- Actually pass the full path of a newly created project or ↵Jannis Leidel
app in the template context as mentioned in the startproject docs. Many thanks to Preston Holmes for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-19Fixed #17932 -- Tweaked the admin_changelist tests because Oracle doesn't ↵Aymeric Augustin
like columns named 'number'. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17767 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-18Fixed #17931 -- Accepted aware datetimes to set cookies expiry dates. Thanks ↵Aymeric Augustin
jaddison for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17Fixed #16138 -- Made FormMixin get_initial return a copy of the 'initial' ↵Claude Paroz
class variable. Thanks hanson2010, wilfred@potatolondon.com and agriffis for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17Fixed #17828 -- Ensured that when a list filter's `queryset()` method fails, ↵Julien Phalip
it does so loudly instead of getting swallowed by a `IncorrectLookupParameters` exception. This also properly fixes #16705, which hadn't been addressed correctly in [16705]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-17Fixed #17918 - Handle proxy models correctly when sorting deletions for ↵Carl Meyer
databases without deferred constraints. Thanks Nate Bragg for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17756 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16Reorganized proxy-delete tests for easier addition of new tests. Refs #16128.Carl Meyer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-16Ensured that some staticfiles tests get properly cleaned up on teardown. ↵Julien Phalip
Thanks to Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-15Added a `with_statement` import to a test for Python 2.5 compatibility.Julien Phalip
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-15Fixed #17838 - prefetch_related fails for GenericForeignKeys when related ↵Luke Plant
object id is not a CharField/TextField Thanks to mkai for the report and debugging, and tmitchell and Przemek Lewandowski for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-15Reverted r16386 because it replaced a brittle method with another not lessRamiro Morales
arbitrary method when the test client checks for the presence of the bundled session backends+session middleware combination. We will revisit the issue soon, probably to make these checks even less strict. Refs #7836, #16605 git-svn-id: http://code.djangoproject.com/svn/django/trunk@17739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-14Tweaked tests from r17702 to run only when using sqlite3 DB(s).Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #17895 -- Made override_settings send the setting_changed signal both ↵Aymeric Augustin
when a setting is overridden and when it's restored. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #16329 -- Fixed detection of transaction-handling capabilities when ↵Ramiro Morales
all test databases are sqlite3, in-memory. Thanks canassa for the report and agriffis (#17762) and lrekucki (in #17758) for their contribution to the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #17768 -- Add a comment about an expected failure in generic_views testsClaude Paroz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #17857 -- Stopped CachedStaticFilesStorage from creating absolute URLs ↵Jannis Leidel
unnecessarily. Thanks, tgecho. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-13Fixed #17865 -- Strip whitespaces from the paths when using the ↵Jannis Leidel
CachedStaticFilesStorage backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17696 bcc190cf-cafb-0310-a4f2-bffc1f526a37