summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-01-20Fixed #26094 -- Fixed CSRF behind a proxy (settings.USE_X_FORWARDED_PORT=True).chemary
2016-01-19Refs #21221 -- Added test for legacy static usage in form Media.Johannes Hoppe
Before cf546e1, static files in form or widget Media were usually wrapped with contrib.staticfiles.templatetags.staticfiles.static. This test ensures compatibility with third-party code that's still using this pattern.
2016-01-14Refs #26048 -- Fixed a flaky selenium test.Tim Graham
2016-01-14Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by ↵Tim Graham
default.
2016-01-14Fixed #25697 -- Made default error views error when passed a nonexistent ↵Iacopo Spalletti
template_name.
2016-01-13Refs #26071 -- Added test for __in lookup in a Case expression.Alberto Avila
Forwardport of 5b3c66d8b64add684489f5010e43de73e7acdd04 from stable/1.8.x
2016-01-11Added missing period to "etc.".pp
2016-01-11Refs #494 -- Fixed a flaky admin_inlines tests.Tim Graham
2016-01-11Fixed #26048 -- Made admin selenium tests use implicitly_wait()Tim Graham
2016-01-11Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input and Tim for the review.
2016-01-11Replaced selenium.find_element_by_css_selector where by_id is sufficient.Tim Graham
2016-01-11Fixed #25385 -- Allowed importing views.generic.View from views.View.Varun Sharma
2016-01-11Fixed #25684 -- Made runserver use logging for request/response output.Flavio Curella
Thanks andreif for the contributing to the patch.
2016-01-10Refs #21113 -- Updated test to allow for bad MySQL time resolutionClaude Paroz
2016-01-09Refs #25165 -- Fixed JSON serialization for delete popup in the admin.Tim Graham
2016-01-08Added a test for adding a UUID pk object using the "Add related" admin popup.Alexander Gaevsky
Follow up to refs #25997 but this case wasn't broken.
2016-01-08Fixed #21113 -- Made LogEntry.change_message language independentClaude Paroz
Thanks Tim Graham for the review.
2016-01-08Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on ↵Tim Graham
Char/TextField with unique=True and db_index=True. Thanks Simon Charette for review.
2016-01-08Added a helper function in schema tests.Tim Graham
2016-01-08Refs #25165 -- Fixed JSON serialization for add/edit popup in the admin.Alexander Gaevsky
Forwardport of test in o839d71d8562abe0b245024e55ca1d02a45e58fd from stable/1.9.x (refs #25997).
2016-01-08Refs #25165 -- Fixed failure of admin's "Add another" popup to close.Tim Graham
Thanks Thomas Grainger for the fix.
2016-01-07Reverted #25961 -- Removed handling of thread-non-safe GEOS functions.Tim Graham
This reverts commit 312fc1af7b8a028611b45ee272652d59ea7bd85a as it seems to cause segmentation faults as described in the ticket.
2016-01-07Fixed #26038 -- Changed FileSystemStorage defaults on setting change.Simon Charette
Thanks to Dave Voutila for the report and Tim for the review.
2016-01-07Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet.Anderson Resende
2016-01-07Fixed #24855 -- Allowed using contrib.auth.login() without credentials.Paulo Poiati
Added an optional `backend` argument to login().
2016-01-06Used setupTestData in m2m_through tests.Simon Charette
2016-01-06Refs #8548 -- Removed a workaround for lengthy verbose name.Simon Charette
2016-01-06Fixed #25746 -- Isolated inlined test models registration.Simon Charette
Thanks to Tim for the review.
2016-01-06Imported required models directly in auth management tests.Simon Charette
2016-01-06Refs #25746 -- Added a test utility to isolate inlined model registration.Simon Charette
Thanks to Tim for the review.
2016-01-06Refs #26048 -- Fixed a flaky i18n selenium test: test_javascript_gettext.Tim Graham
2016-01-06Fixed #25680 -- Added django-admin shell --command option.Niels Van Och
Add a -c option to the shell command to execute a command passed as a string as Django.
2016-01-06Refs #22955 -- Added test for admin's many-to-many widget refresh data loss bug.elky
This was fixed by 4a438e400b7ce0ab9d0b6876196cbe8d620a4171.
2016-01-06Fixed #26039 -- Unwrapped nested partials in URL reversal.Grégory Starck
Prior to Python 3.5 nested partials need to be fully "unfolded" to get the actual function.
2016-01-06Fixed #26046 -- Fixed a crash with translations and Django-unknown language codeClaude Paroz
Thanks Jens Lundstrom for the report and Tim Graham for the review.
2016-01-06Fixed #26035 -- Prevented user-tools from appearing on admin logout page.Scott Pashley
2016-01-05Skipped a dateformat test on Windows as needed.Tim Graham
Refs 1014ba026e879e56e0f265a8d9f54e6f39843348
2016-01-05Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.Denis Cornehl
Thanks Denis Cornehl for help with the patch.
2016-01-04Fixed #21549 -- Made loaddata's 'fixture not found' warning an exception.Andrew Kuchev
Thanks to mpasternak for the report and Tim Graham for the review.
2016-01-04Fixed #26009 -- Fixed contenttypes_tests isolation.Tim Graham
2016-01-02Refs #26011 -- Fixed AttributeError in test_port_bind test.Marten Kenbeek
2016-01-02Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().varunnaganathan
2016-01-02Fixed #26008 -- Added parallel argument to paired_tests and bisect_testsAttila Tovt
2015-12-31Removed British/Austrialian word: whilist.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-31Fixed #26011 -- Prevented random LiveServerTestCase test failures on Windows.Marten Kenbeek
Prevented LiveServerTestCase from stealing ports used by concurrent processes on Windows.
2015-12-31Made cosmetic cleanups in middleware tests.Tim Graham
2015-12-31Fixed #23372 -- Made loaddata faster if it doesn't find any fixtures.Anssi Kääriäinen
Django's test suite often tries to load fixture files from apps that have no fixtures at all. This creates a lot of unnecessary disabling and enabling of constraints which can be expensive on some database. To speed this up, loaddata now first checks if any fixture file matches. If no fixture file is matched, then the command exits before disabling and enabling of constraints is done. The main benefit of this change is seen on MSSQL, where tests on Django 1.8 run hours faster.
2015-12-30Fixed #15165 -- Prevented wrong results with perimeter on geodetic fields.Claude Paroz
2015-12-30Fixed #26018 -- Prevented unecessary get_form() call in ↵Chris Cogdon
FormMixin.get_context_data(). Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not be called unnecessarily, specifically in the case where FormMixin.form_invalid() calls get_context_data() with the current form.