summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-09-18Added test skipping for a PostgreSQL JSONField test.Tim Graham
2017-09-18Revert "Refs #21286 -- Enabled serializer tests with time pk model"Claude Paroz
This reverts commit 01c6a3e227b645e8dea97e9befecd23d1d3b8581. Unfortunately, the YAML serializer is not yet able to cope with time values.
2017-09-17Refs #21286 -- Enabled serializer tests with time pk modelClaude Paroz
2017-09-15Fixed #28334 -- Added caching for hstore/citext OIDs.Igor Gumenyuk
2017-09-15Refs #24031 -- Added test for When.__repr__().Mads Jensen
2017-09-14Fixed a Dutch translation in i18n tests.Tim Graham
2017-09-14Added a test for mixing args and kwargs in reverse().Tim Graham
2017-09-13Refs #28593 -- Moved django.conf.urls.include() to django.urls().Tim Graham
The old location remains for backwards compatibility. Documentation will be updated separately along with the rest of the URL routing changes.
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-09-12Fixed #28440 -- Fixed WSGIServer hang on responses without a Content-Length.Tom
Disabled keep-alive to fix the regression in e6065c7b8363202c5eb13ba10c97a8c24d014b45.
2017-09-12Removed django.contrib.gis.geometry.backend.Tim Graham
The layer of indirection is unchanged and undocumented since its introduction in ff60c5f9de3e8690d1e86f3e9e3f7248a15397c8.
2017-09-11Added tests for DecimalValidator.Josh Schneier
2017-09-11Tested field deconstruction with DEFAULT_DB_TABLESPACE and db_tablespace.Simon Charette
2017-09-11Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵Sergey Fedoseev
than once. Reverted test for refs #27603 in favor of using FuncTestMixin.
2017-09-11Fixed #28392 -- Fixed GIS's WKT regex to match large scientific notation ↵Sergey Fedoseev
numbers. Thanks Greg Larmore for report and initial patch.
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL RangeFieldClaude Paroz
2017-09-09Refs #24928 -- Added introspection support for PostgreSQL JSONFieldClaude Paroz
Thanks Adam Johnson and Tim Graham for the reviews.
2017-09-09Fixed some comments referring to a nonexistent TestClient class.Luoxzhg
2017-09-09Fixed capitalization of "Spherical Mercator."Sergey Fedoseev
2017-09-08Fixed deepcopy of AreaField and DistanceField.Sergey Fedoseev
2017-09-08Fixed #28546 -- Fixed translation's to_locale() with langauge subtags.Tim Graham
Thanks Brent Hand for the initial patch.
2017-09-08Added more tests for translation's to_locale().Tim Graham
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-06Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple.Sergey Fedoseev
2017-09-06Fixed #27318 -- Made cache.set_many() return the list of failed keys.Olivier Tabone
2017-09-06Fixed #28032 -- Added Paginator.get_page().Sami J. Lehtinen
Moved boilerplate from docs to a method.
2017-09-06Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵Sergey Fedoseev
functools.partial()/partialmethod().
2017-09-05Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵François Freitag
QuerySet.earliest()/latest().
2017-09-05Fixed #28335 -- Allowed query expressions in Meta.ordering.Dima Kudosh
2017-09-05Fixed #28555 -- Made CharField convert whitespace-only values to the ↵Josh Schneier
empty_value when strip is enabled.
2017-09-05Fixed CVE-2017-12794 -- Fixed XSS possibility in traceback section of ↵Tim Graham
technical 500 debug page. This is a security fix.
2017-09-05Removed hardcoding from get_earliest_or_latest tests' tearDown().François Freitag
2017-09-05Added tests for BooleanField/NullBooleanField's check constraints on Oracle.Mariusz Felisiak
2017-09-04Fixed #28126 -- Added GistIndex to contrib.postgres.Mads Jensen
Thanks to Marc Tamlyn for the initial patch.
2017-09-04Improved messages in IndexErrors raised by GDAL objects.Nick Pope
2017-09-04Fixed #28569 -- Corrected get_layer_by_name prototype to skip error checking.Nick Pope
All other get_*_by_name functions have errcheck=False. This makes it return None for an invalid name instead of raising a GDALException.
2017-09-04Fixed #28493 -- Made migrations autodetector find dependencies for model ↵Jeremy Satterfield
renaming.
2017-09-04Fixed #28082 -- Made BaseDateListView pass context from get_dated_items() to ↵Sebastian Sassi
subclasses. Thanks leon-matthews for the report and fix.
2017-09-04Corrected YearComparisonLookup.get_bound() signature.Srinivas Reddy Thatiparthy
2017-09-04Fixed #26344 -- Made EmailMessage include alternatives when the body is ↵Igor Tokarev
empty and it has attachments.
2017-09-03Refs #27804 -- Used subTest() in a modeladmin test.Nick Pope
2017-09-03Fixed #28558 -- Simplified code to remove OGRIndexError.Nick Pope
The test is a regression for refs #4740 to show that the original fix of OGRIndexError is no longer needed. This is similar to the removal of GEOSIndexError in 197b1878105504b5ac7e399e1f52a6093c88baa3.
2017-09-03Refs #27804 -- Used subTest() in a syndication test.Mads Jensen
2017-09-03Fixed #28500 -- Fixed crash in FileBasedCache._is_expired() if the cache ↵caleb logan
file is empty.
2017-09-03Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect ↵ZachLiuGIS
of positional arguments. Regression in 78963495d0caadb77eb97ccf319ef0ba3b204fb5. Forwardport of f8e0557b01ebbb11478cfb012c4cafc67f1213c1 from stable/1.11.x
2017-09-03Refs #25225 -- Removed test for removed ListMixin._IndexError.Nick Pope
Unused since 197b1878105504b5ac7e399e1f52a6093c88baa3.
2017-09-02Fixed #28306 -- Completed test coverage for django.utils.lorem_ipsum.LBerrocal
Thanks Idan Melamed for the original patch.
2017-09-01Fixed test in auth_tests modifying data from setUpTestData().François Freitag
2017-08-31Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields.Jeremy Kerr
Previously, deferring fields in different classes didn't omit the superclass' deferred field. Thanks Simon Charette for the suggested fix.
2017-08-31Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham
Previously, it was a QuerySet which could reevaluate to a new value if the model's data changes. This is inconsistent with other Field.value_from_object() methods. This allows reverting the fix in the admin for refs #27998.