summaryrefslogtreecommitdiff
path: root/tests/regressiontests
AgeCommit message (Collapse)Author
2012-03-12Fixed #17861 -- Took care of special characters when creating the ↵Jannis Leidel
staticfiles storage cache keys. Many thanks to Preston Holmes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-12Edited some docs and docstrings until [17685]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-12Fix #17879: Corrected regression in python (inherited by yaml and json) ↵Karen Tracey
serializer that prevented serializing model instances with null FK ref to a model when serializing with natural keys. Thanks danfairs and tmitchell. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-10Fixed #17327 (again) -- Moved createsuperuser tests added in r17665.Ramiro Morales
In their new location they won't cause multi-db-related errors when users run contrib.auh tests together with their application tests. Thanks brianriley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-09Removed executable bits from some files that don't need them.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Fixed #17830 -- Modified list_filter on DateTimeFields to account for the ↵Aymeric Augustin
new time zone support. Thanks Glenn Washburn for the report and Jannis Leidel for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Added change forgotten in r17668.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Enabled the existing admin Selenium tests to be run with Internet Explorer. ↵Julien Phalip
Note that some tweaks had to be made, in particular as IE7 has limited capabilities regarding CSS selectors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-05Fixed #16128 - Correctly cascade-delete proxy models as if they were the ↵Carl Meyer
concrete model class. Thanks xkennyx for the report, and Aymeric Augustin, Claude Paroz, Adam Nelson, jaap3, and Anssi Kääriäinen for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-04Fix staticfiles_tests.TestCollectionCachedStorage.test_post_processing so it ↵Karen Tracey
passes on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-04Made the Selenium tests for the admin horizontal/vertical filter widgets a ↵Julien Phalip
bit more thorough. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-04Added more thorough Selenium tests for the admin horizontal/vertical filter ↵Julien Phalip
widgets. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Fixed #17717 (again) -- Used the new API for concrete models added in ↵Jannis Leidel
r17573. Many thanks to Simon Charette and Anssi Kääriäinen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Fixed #17717 -- Fixed serialization of proxy models. Thanks, Anssi ↵Jannis Leidel
Kääriäinen. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Fixed a typo in r17638.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Modified a test added in r17508 to not run under Oracle.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-03Fixed #17198 -- Ensured that a deterministic order is used across all ↵Julien Phalip
database backends for displaying the admin change list's results. Many thanks to Luke Plant for the report and general approach, to everyone involved in the design discussions, and to Carl Meyer for the patch review. Refs #16819. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed #17817 -- Modified LocalMiddleware to use full URLs when redirecting ↵Jannis Leidel
to i18n URLs. Thanks to Paul for keeping an eye on the standards. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Edited stuff from [17543] to [17629]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed #16842 -- Modified the RedirectView to correctly handle query strings ↵Jannis Leidel
with percent symbols. Thanks, accuser, jamey@minilop.net and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed #17806 -- Fixed off-by-n error in the CachedStaticFilesStorage that ↵Jannis Leidel
prevented it from finding files in nested directories. Many thanks to lpetre. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed #17734 -- Made sure to only redirect translated URLs if they can ↵Jannis Leidel
actually be resolved to prevent unwanted redirects. Many thanks to Orne Brocaar and Anssi Kääriäinen for input. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed test cases that generate their own settings file.Paul McMillan
Now they include SECRET_KEY. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-01Fixed #17737 -- Stopped the collectstatic management command from copying ↵Jannis Leidel
the wrong file in repeated runs. Thanks, pigletto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-27Modified tests introduced in r15452 to not run 31 test cases twice. Thanks ↵Ramiro Morales
Julien for discovering this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-23Added some Selenium tests for the admin's filter_horizontal and ↵Julien Phalip
filter_vertical widgets. Ref #13614, #15220. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-22Enabled the admin selenium tests to run on Chrome.Julien Phalip
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-22Don't let ALLOWED_INCLUDE_ROOTS be accidentally set to a string rather than ↵Chris Beaven
a tuple. Thanks to Florian Apolloner for pointing this out. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-21Fixed #17660 -- Standardize extends tag token parsingChris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19Fixed #13068 (again) -- Corrected the admin stacked inline template to allow ↵Julien Phalip
prepopulated fields to work (Thanks Stanislas Guerra for the report). Also fixed a regression introduced in [16953] where prepopulated fields wouldn't be recognized any more due to the additional "field-" CSS class name prefix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-18Fixed #17720 -- Stopped the LocaleMiddleware from overeagerly using the ↵Jannis Leidel
request path for language activation if it's actually not wanted. Thanks to Anssi Kääriäinen for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-18Prevented the generic views from automatically creating a HEAD method when ↵Aymeric Augustin
there is no GET. Reverts r16105, refs #17449. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-16Fixed #17689 -- Stopped the CachedStaticFilesStorage from trying to hash ↵Jannis Leidel
paths that aren't files. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-16Use Python's changed comparisons, which makes this a bit more readable.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-16Fixed #17693. Input validation and tests for base36 conversion utils. Thanks ↵Paul McMillan
Keryn Knight for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-14Fixed #17675 -- Changed the implementation of the {% regroup %} template tag ↵Aymeric Augustin
to use the context properly when resolving expressions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-13Minor bugfixing of the staticfiles app following upstream development in ↵Jannis Leidel
django-staticfiles. - Create the files to ignore during the tests dynamically (.hidden and backup~) - Refactored the post_processing method of the CachedFilesMixin storage mixin to be less time consuming. - Refactored handling of fragments in the post_process method. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-12Fixed AdminEmailHandler to format the subject message correctly when ↵Jannis Leidel
arguments are passed. This bug was hidden before r17480 as it basically didn't take the arguments into account. Refs #14973. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixed #15216 -- Made return type of an internal DB introspection method ↵Ramiro Morales
consistent. Thanks arthur AT milliways DOT fr for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixed #17676 -- Fixed introspection of column names that start with digit(s).Ramiro Morales
Thanks Gandalfar for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixed #7783 -- Made introspection of nullable columns more robust with Postgres.Ramiro Morales
Thanks bthomas AT ncorcle DOT com for the report and initial patch, and Claude Paroz for the final, complete patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixed #17256 -- Ensured that content types get cached when retrieved by ↵Julien Phalip
natural key. Thanks, defaultwombat and charettes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixed #17281 -- Prevented `AdminErrorHandler` from silently failing if the ↵Julien Phalip
log message contains newlines. Thanks to Russell Keith-Magee for the report and to Bartolome Sanchez Salado and Marcin Wróbel for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fixes #16827. Adds a length check to CSRF tokens before applying the ↵Paul McMillan
santizing regex. Thanks to jedie for the report and zsiciarz for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-11Fix the other test for #15237.Paul McMillan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10Fixed #15237 (again). RSS feeds now include proper character encoding in the ↵Paul McMillan
mimetype. Thanks shadow for the report and Michal Rzechonek for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10Fixed #17277 - Wrap IOErrors raised due to client disconnect in a specific ↵Carl Meyer
IOError subclass so they can be distinguished from more serious errors. Thanks David Lowe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10Fixed #17640 -- Avoided a DeprecationWarning in the test suite. Thanks ↵Aymeric Augustin
zsiciarz and claudep. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10Fixed a SyntaxError in the middleware tests introduced in r17471.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-10Fixed the exception handling when deserializing via generators on Python 2.5 ↵Jannis Leidel
that was introduced in r17469. Also only test the YAML serializer if PyYAML is installed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17487 bcc190cf-cafb-0310-a4f2-bffc1f526a37