summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-12-10Moved a few CommonMiddleware tests to the correct test class.Tim Graham
2015-12-10Refs #25896 -- Fixed migration test failure on OracleShai Berger
The test creates and deletes a model in the same migration, and the model had an AutoField. On Oracle, AutoField's are set up using deferred SQL, which in this case was trying to modify a table after it had dbeen removed.
2015-12-09Fixed #25896 -- Fixed state bug in ↵Amos Onn
SeparateDatabaseAndState.database_backwards().
2015-12-08Fixed #25637 -- Added URLValidator hostname length validation.Raphael Michel
URLValidator now validates the maximum length of a hostname and the maximum length of all labels inside the hostname.
2015-12-07Fixed #25867 -- Fixed a system check crash with nested ArrayFields.Simon Charette
Thanks to Jean Gourds for the report, Tim and Claude for the review.
2015-12-05Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance.Attila Tovt
2015-12-05Fixed #25165 -- Removed inline JavaScript from the admin.Thomas Grainger
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
2015-12-04Refs #25677 -- Skipped an i18n test on older gettext versions.Tim Graham
2015-12-04Fixed #25840 -- Fixed BaseCache.get_or_set() on the DummyCache backend.Emre Yilmaz
This also fixes a possible data eviction race condition between setting and getting a key. Another thread could remove the key before get_and_set() accesses it again. In this case, now the default value will be returned instead of None.
2015-12-04Refs #25734 -- Relaxed GDALRaster statistics test to use assertAlmostEqual.Daniel Wiesmann
Some versions of GDAL give slightly different results.
2015-12-03Fixed #25820 -- Allowed whitespace in admin's calendar.js month/weekday names.bphillips
This is useful for certain language translations.
2015-12-03Fixed #25797 -- Fixed regex for getting units from SRS WKT.Sergey Fedoseev
2015-12-03Fixed #25825 -- Implemented __ne__() for template OriginJaap Roes
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-12-02Fixed #25667 -- Fixed admindocs initial_header_level.Ville Skyttä
2015-12-02Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite.Sergey Fedoseev
2015-11-28Fixed #25812 -- Restored the ability to use custom formats with the date ↵Gagaro
template filter.
2015-11-27Improved help text for runtests's --parallel optionBaptiste Mispelon
2015-11-26Fixed #25302 (again) -- Ignored scheme when checking for bad referers.Aymeric Augustin
The check introduced in 4ce433e was too strict in real life. The poorly implemented bots this patch attempted to ignore are sloppy when it comes to http vs. https.
2015-11-26Fixed #25807 -- Instructed the migration writer about lazy objects.Simon Charette
Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation and Tim for the review.
2015-11-25Fixed #25773 -- Deprecated the geos.MultiPolygon.cascaded_union property.Sergey Fedoseev
2015-11-25Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays.Attila Tovt
2015-11-25Fixed #25734 -- Made GDALBand min and max properties use ↵Daniel Wiesmann
GDALComputeRasterStatistics. Thanks Sergey Fedoseev and Tim Graham for the review.
2015-11-25Fixed #25274 --- Made inspectdb handle renamed fields in unique_together.Jacek Bzdak
2015-11-24Fixed a settings leak possibility in the date template filter.Florian Apolloner
This is a security fix.
2015-11-24Fixed #25767 -- Fixed data truncation possibility with ↵George Marshall
Positive(Small)IntegerField on MySQL.
2015-11-24Removed explicit User ids in tests.Tim Graham
2015-11-23Refs #25663 -- Fixed checking of the number of points for LineString if ↵Sergey Fedoseev
initialized from numpy.array.
2015-11-23Refs #25786 -- Added tests/release notes for set_FOO_order() crash with ↵Tim Graham
order_with_respect_to referencing OneToOneField pk. Forwardport of 6d9f061b07ce7aa1a9da6799b3104971ee73998b from stable/1.8.x The issue was fixed by 7bec480fe2ace94c8e7f0c88485442bfa74436b4.
2015-11-22Fixed #25685 -- Fixed a duplicate query regression on deletion of proxied ↵Simon Charette
models. Thanks to Trac alias ppetrid for the report and Tim for the review. Conflicts: django/db/models/deletion.py tests/delete/tests.py Forward port of 7c3ef19978b36b61db88a519f799f1ce8d019679 from stable/1.8.x
2015-11-22Fixed #25784 -- Prevented an exception on collectstatic helpAlex Morozov
Made the `manage.py help collectstatic` don't fail if the `STATIC_ROOT` setting is empty.
2015-11-21Fixed #25781 -- Simplified admin_views tests with client.force_login()Adam Wester
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
2015-11-21Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey ↵Tim Graham
w/on_delete=SET_NULL.
2015-11-20Fixed #25722 -- Added the GEOSGeometry.covers() method.Sergey Fedoseev
2015-11-20Fixed #25551 -- Fixed migration operations ordering when adding fields and a ↵Ana Vojnovic
unique_together constraint.
2015-11-20Removed skipIf for GEOSTest.test_linearref which already exists at class level.Sergey Fedoseev
2015-11-19Fixed #25764 -- Added support for serialization of enum.Enum in migrations.Andrei Fokau
Thanks Tim Graham for the review.
2015-11-19Renamed __unicode__() to __str__() in some test comments.Tim Graham
2015-11-19Refs #25677 -- Fixed Python 2 i18n test failure on non-ASCII path.Tim Graham
2015-11-19Fixed #19361 -- Added link to object's change form in admin's post-save message.Anton Baklanov
Thanks Roel Kramer for tests.
2015-11-19Fixed #25769 -- Updated get_version() release candidate naming for PEP 0440.Tim Graham
2015-11-19Fixed #25677 -- Prevented decoding errors in/after Popen callsClaude Paroz
Thanks Gavin Wahl for the report and Tim Graham for the review.
2015-11-19Fixed #25438 -- Fixed assorted Oracle GIS test failures.Jani Tiainen
2015-11-19Allowed RasterFieldWithoutGDALTest to run even if GDAL is installed.Sergey Fedoseev
2015-11-18Fixed #22810 -- Corrected admin changelist count for list filters that ↵Nick Sandford
filter by default.
2015-11-18Fixed #25654 -- Added the GEOSGeometry.unary_union property.Sergey Fedoseev
2015-11-18Fixed #25663 -- Added checking of the number of points for LinearRing and ↵Sergey Fedoseev
LineString.
2015-11-18Fixed #25665 -- Deprecated getter/setter of Point.tuple.Sergey Fedoseev
2015-11-18Refs #25665 -- Deprecated getters/setters of Point coordinate properties.Sergey Fedoseev