summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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.
2015-12-30Refs #13614 -- Added test for admin's many-to-many widget data loss bug.Tim Graham
It looks like browsers have fixed the reported issue.
2015-12-30Fixed #26017 -- Removed a dependency on the name of the top-level tests ↵Raphaël Hertzog
directory.
2015-12-30Fixed #26006 -- Fixed incorrect object reference in ↵Chris Cogdon
SingleObjectMixin.get_context_object_name().
2015-12-29Fixed #25465 -- Restored line breaks conversion in admin readonly fields.Alexander Gaevsky
2015-12-29Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make ↵Tim Graham
request a positional argument.
2015-12-29Fixed typo in test name.knbk
2015-12-29Fixed #19536 -- Included object-tools when ModelAdmin.has_add_permission() ↵Nick Sandford
is False.
2015-12-28Moved LogEntry-related tests to their own test caseClaude Paroz
Thanks Tim Graham for reviewing and contributing to the patch. Refs #21113.
2015-12-28Fixed previous commit (e3d782fe804a94b2fe7c8a18b95d9fb41fb9119c) on Python 3.Tim Graham
2015-12-28Added the response to an admin_views test assertion to aid debugging.Tim Graham
2015-12-26Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk().Bryan Marty
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-24Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().Varun Sharma
2015-12-24Fixed #25981 -- Added need to update migrations to on_delete deprecation ↵Luis San Pablo
warning.
2015-12-24Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.Tomo Otsuka
2015-12-23Fixed #25729 -- Fixed flaky admin_widgets selenium test: ↵Tim Graham
test_ForeignKey_using_to_field
2015-12-23Refs #25969 -- Replaced usage of render_to_response() with render() in tests.Tim Graham
2015-12-23Fixed #25961 -- Removed handling of thread-non-safe GEOS functions.Sergey Fedoseev
2015-12-22Fixed #25950 -- Added support for GEOSisClosed.Sergey Fedoseev
2015-12-22Moved URLObject in tests to separate utils module.Marten Kenbeek
2015-12-21Fixed #494 -- Added ability to specify classes on admin inline fieldsets.Karen Tracey
This includes the ability to collapse inlines by specifying a class named 'collapse'.
2015-12-21Fixed #25855 -- Enhanced the migration warning for runserver.Emre Yilmaz
Added unapplied migration count and the list of unmigrated apps.
2015-12-21Fixed #25903 -- Fixed the admin's list_editable add/change buttons.Tim Graham
2015-12-19Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.Tim Graham
2015-12-18Fixed #25869 -- Added trim and precision properties to WKTWriter.Sergey Fedoseev
2015-12-18Fixed #25915 -- Allowed language not in Django's default LANGUAGESClaude Paroz
This fixes a regression introduced by a5f6cbce07. Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-12-18Fixed #25063 -- Added path to makemigration's output of migration file.Niels Van Och
2015-12-17Fixed #25841 -- Handled base array fields validation errors with params.Simon Charette
Thanks to Trac alias benzid-wael for the report.
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-12-17Fixed #25942 -- Fixed TypedChoiceField.has_changed with nullable fieldClaude Paroz
This fixes a regression introduced by 871440361.
2015-12-15Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state.Simon Charette
Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus for the review.
2015-12-15Fixed #24675 -- Skipped SQL_AUTO_IS_NULL query on MySQL if not needed.Stewart Park
2015-12-15Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().Sergey Fedoseev
2015-12-14Fixed #25662 -- Allowed creation of empty GEOS geometries.Sergey Fedoseev
2015-12-14Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.Simon Charette
Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891
2015-12-14Fixed #25725 -- Made HttpReponse immediately close objects.Johannes Hoppe
2015-12-14Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int.Sergey Fedoseev
2015-12-14Fixed #12885 -- Fixed queries with GenericRelations to multi-table ↵Anssi Kääriäinen
inheritance child models.
2015-12-13Fixed #25925 -- Forced LANG=C for test_msgfmt_error_including_non_ascii.Sergey Fedoseev
2015-12-13Fixed #25875 -- Prevented UnicodeDecodeError for Q object reprClaude Paroz
Thanks Ben Kraft for the report, and Simon Charette for the review.
2015-12-12Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().Iacopo Spalletti
Thanks to bmispelon and uruz for the initial patch.
2015-12-12Fixed #25909 -- Added unicode_literals import to apps.py generated by startapp.Tim Graham
2015-12-10Fixed #25883 -- Fixed admin deletion page summary counts for related objects.Sergey Fedoseev
2015-12-10Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField when using ↵Federico Frenguelli
AlterField. Thanks to Emanuele Palazzetti for the help.
2015-12-10Fixed #21221 -- Made form Media and static template tag use staticfiles if ↵Johannes Hoppe
installed.
2015-12-10Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.Derek J. Curtis