summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-03-14Fixes #23643 -- Added chained exception details to debug view.Tomáš Ehrlich
2015-03-14Refs #24354 -- Prevented repointing of relations on superclasses when ↵Matthew Wilkes
migrating a subclass's name change Forwardport of test and release note from stable/1.7.x
2015-03-14Fixed #12982 -- Added a get_or_set() method to the BaseCache backend.Berker Peksag
2015-03-13Fixed #24416 -- Added support for lazy email addresses.medmunds
2015-03-13Fixed #24122 -- Redirected to translated url after setting languageClaude Paroz
Thanks gbdlin for the initial patch and Tim Graham for the review.
2015-03-12Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on ↵Jon Dufresne
status_code.
2015-03-12Cleaned up urlpatterns_reverse tests.Bas Peschier
2015-03-12Fixed #24013 -- Fixed escaping of reverse() prefix.Bas Peschier
Prefix was treated as a part of the url pattern, which it is not. Improved tests to conform with RFC 3986 which allows certain characters in path segments without being escaped.
2015-03-12Fixed #24226 -- Changed admin EMPTY_CHANGELIST_VALUE from (None) to -Tim Graham
2015-03-12Fixed #12943 -- Allowed unnamed arguments to be propagated in includesBas Peschier
Propagated unnamed arguments as positional arguments into included URLconfs if no named arguments are defined. Positional and keyword arguments are never combined.
2015-03-12Fixed #24468 -- Made signed cookies cache backend resilient to unpickling ↵Tim Graham
exceptions.
2015-03-11Fixed staticfiles test on Windows; refs #23986.Tim Graham
2015-03-10Fixed #24471 -- Enhanced urlize regex to exclude quotes and angle brackets.Tim Graham
2015-03-10Fixed escaping regression in urlize filter.Tim Graham
Now that the URL is always unescaped as of refs #22267, we should re-escape it before inserting it into the anchor.
2015-03-09Fixed #24455 -- Fixed crash in debug view with lazy objectsBas Peschier
2015-03-09Fixed #24382 -- Allowed unicode chars inside formatted numbersClaude Paroz
Thanks Jacob Rief for the report and Tim Graham for the review.
2015-03-09Refs #24461 -- Added test/release notes for XSS issue in ↵Baptiste Mispelon
ModelAdmin.readonly_fields This issue was fixed by refs #24464.
2015-03-09Fixed #24464 -- Made built-in HTML template filter functions escape their ↵Erik Romijn
input by default. This may cause some backwards compatibility issues, but may also resolve security issues in third party projects that fail to heed warnings in our documentation. Thanks Markus Holtermann for help with tests and docs.
2015-03-09Fixed #24171 -- Fixed failure with complex aggregate query and expressionsAnssi Kääriäinen
The query used a construct of qs.annotate().values().aggregate() where the first annotate used an F-object reference and the values() and aggregate() calls referenced that F-object. Also made sure the inner query's select clause is as simple as possible, and made sure .values().distinct().aggreate() works correctly.
2015-03-08Fixed #23407 -- Extended coverage of makemigrations --noinput option.Marten Kenbeek
Changed --noinput option in makemigrations to suppress all user prompts, not just when combined with --merge.
2015-03-08Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URLBas Peschier
2015-03-08Fixed #23838 -- added missing `__iter__` to LazyObjectRik
2015-03-07Fixed #23986 -- Fixed collectstatic --clear failure if STATIC_ROOT dir ↵Sztrovacsek
doesn't exist.
2015-03-07Prevented some tests from writing in the CWD.Aymeric Augustin
2015-03-07Fixed #24447 -- Made migrations add FK constraints for existing columnsJean-Louis Fuchs
When altering from e.g. an IntegerField to a ForeignKey, Django didn't add a constraint.
2015-03-07Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax.Tim Graham
2015-03-07Fixed #23993 -- Added form.media to the admin login template.david
2015-03-06Fixed urlize regression with entities in query stringsClaude Paroz
Refs #22267. Thanks Shai Berger for spotting the issue and Tim Graham for the initial patch.
2015-03-06Fixed #24420 -- Allowed ordering by case expressionsJosh Smeaton
2015-03-05Fixed admin selenium tests broken by removal of fixtures.Tim Graham
2015-03-05Fixed #21495 -- Added settings.CSRF_HEADER_NAMEGrzegorz Slusarek
2015-03-05Fixed test_notafile_error to pass on Windows.Preston Timmons
This test failed because a different error code is raised on Windows when opening a directory. Since the particular message isn't as important to this test as the fact that the original IOError is reraised, this fixes the test by making the assertion more generic.
2015-03-05Fixed #19538 -- Removed window.__admin_media_prefix__ from admin templates.Tim Graham
2015-03-05Updated test to be date-independentClaude Paroz
Fixes commit 8714403614.
2015-03-05Fixed #24428 -- Fixed has_changed for fields with coercionClaude Paroz
Thanks Carsten Fuchs for the report.
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2015-03-04Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.Tim Graham
2015-03-04Fixed #24435 -- Prevented m2m field removal and addition in migrations when ↵Markus Holtermann
changing blank Thanks Mark Tranchant for the report an Tim Graham for the test and review.
2015-03-03Fixed #24399 -- Made filesystem loaders use more specific exceptions.Preston Timmons
2015-03-02Fixed #24372 - Replaced TokenParser usage with traditional parsing.Preston Timmons
2015-03-03Fixed Oracle build failure introduced by refs #24390.Shai Berger
Used shorter column names to make the generated index name fit within Oracle's limit of 30 characters
2015-03-02Fixed #24294 -- Allowed staff_member_required decorator to handle args.Andrei Kulakov
2015-03-02Fixed MySQL build failure introduced by refs #24390.Tim Graham
Added table_name back to _create_index_sql() to prevent duplicate index names on MySQL.
2015-03-02Fixed #24390 -- Made migration index names deterministic.László Károlyi
2015-03-02Fixed #24409 -- Combined the app_directories and filesystem loader ↵Preston Timmons
implementation. Besides the directories they look in, these two loaders are functionally the same. This removes unnecessary code duplication between the two.
2015-03-01Fixed #17401 -- Made SelectDateWidget.render reflect wrong valueClaude Paroz
Thanks Marcin Wrobel for the initial patch.
2015-02-28Fixed #24413 -- Prevented translation fallback for EnglishClaude Paroz
Thanks Tomasz Kontusz for the report, Baptiste Mispelon for analysis and Tim Graham for the review.
2015-02-27Fixed #24418 -- Prevented crash in refresh_from_db with null fkClaude Paroz
Thanks Johannes Lerch for the report, Tim Graham for the test case, and Simon Charette for the review.
2015-02-27Removed binary input test lineClaude Paroz
That line was inconveniently introduced by the committer (me) in 3b966c2b73. Sorry!
2015-02-27Fixed #24229 -- Changed IntegerField to clean floats representing integersJon Dufresne