Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #25188 -- Improved message raised by ↵Tim Graham2015-07-311-0/+14
| | | | | | SimpleTestCase.assertRaisesMessage(). Thanks Chris Jerdonek for the suggestion and help with the patch.
* Fixed #25183 -- Fixed non-deterministic GeoIP test.Tim Graham2015-07-311-7/+4
| | | | google.com doesn't always resolve to an IP inside the United States.
* Fixed #24444 -- Updated contrib.admin to use ↵elky2015-07-301-1/+1
| | | | django-flat-theme
* Fixed #25190 -- Deprecated callable_obj parameter to ↵Tim Graham2015-07-301-2/+16
| | | | | | assertRaisesMessage(). Thanks Aymeric Augustin for review.
* Fixed #25163 -- Added hint for non-staff users to admin ↵Luis Visintini2015-07-291-0/+19
| | | | login page.
* Fixed #25185 -- Added support for functools.partial ↵Piper Merriam2015-07-291-0/+8
| | | | serialization in migrations
* Fixed #25186 -- Improved migration's serialization of ↵Piper Merriam2015-07-291-0/+5
| | | | builtins on Python 2.
* Refs #25183 -- Added debugging for non-deterministic ↵Tim Graham2015-07-281-2/+2
| | | | GeoIP test.
* Fixed #18556 -- Allowed RelatedManager.add() to execute ↵Tim Graham2015-07-284-5/+55
| | | | | | 1 query where possible. Thanks Loic Bistuer for review.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-28141-859/+1156
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24127 -- Changed the default current_app to the ↵Marten Kenbeek2015-07-272-5/+40
| | | | | | | current namespace. Changed the url template tag to use request.resolver_match.namespace as a default for the current_app argument if request.current_app is not set.
* Fixed #25095 -- Fixed annotate() + values() group by bugMitchell Kotler2015-07-271-0/+31
| | | | Thanks Josh Smeaton for help on the tests.
* Fixed #25110 -- Fixed a test_runner test isolation ↵Joseph Gordon2015-07-271-3/+5
| | | | | | regression. Thanks claudep for the patch.
* Fixed #24623 -- Fixed EmailMessage.attach_file() with ↵Konrad Świat2015-07-257-0/+34
| | | | | | text files on Python 3. Thanks tkrapp for the report and Tim Graham for the review.
* Fixed #22258 -- Added progress status for dumpdata when ↵Claude Paroz2015-07-242-0/+37
| | | | | | outputting to file Thanks Gwildor Sok for the report and Tim Graham for the review.
* Fixed #12768 -- Fixed QuerySet.raw() regression on FK ↵Matt Johnson2015-07-242-1/+16
| | | | with custom db_column.
* Fixed #25129 -- Made model instance defaults work with ↵Tim Graham2015-07-214-5/+5
| | | | migrations (refs #24919).
* Refs #24919 -- Made test models serializable for migrations.Tim Graham2015-07-216-38/+72
|
* Corrected HTML-escaping behaviour of url template tag.Luke Plant2015-07-211-1/+10
| | | | | | Due to the URL encoding applied by the tag for all parameters that might be partly controllable by an end-user, there are no XSS/security problems caused by this bug, only invalid HTML.
* Fixed #25141 -- Diminished GDAL dependence during ↵Claude Paroz2015-07-201-1/+10
| | | | | | | geojson serialization Only require GDAL if contained geometries need coordinate transformations. Thanks drepo for the report and Tim Graham for the review.
* Fixed #25052; refs #16860 -- Added password validation ↵Tim Graham2015-07-201-0/+21
| | | | to UserCreationForm.
* Refs #16860 -- Moved password_changed() logic to ↵Tim Graham2015-07-202-8/+77
| | | | | | AbstractBaseUser. Thanks Carl Meyer for review.
* Refs #23622 -- Added tests to ensure ordering is ↵Anssi Kääriäinen2015-07-201-0/+68
| | | | | | | | | retained for distinct on fields subqueries. The ticket was already fixed by b68212f539f206679580afbfd008e7d329c9cd31. Thanks to Beauhurst for commissioning the work on this ticket.
* Fixed test with incorrect assumption about pk values.Anssi Kääriäinen2015-07-201-1/+8
| | | | | The test results were dependent on the order in which the tests were run.
* Replaced six.BytesIO with io.BytesIOTim Graham2015-07-202-2/+4
|
* Replaced try/finally by mock.patch in geos testsClaude Paroz2015-07-181-30/+19
|
* Fixed #16501 -- Added an allow_unicode parameter to ↵Edward Henderson2015-07-178-16/+72
| | | | | | SlugField. Thanks Flavio Curella and Berker Peksag for the initial patch.
* Fixed db.utils.load_backend() on non-ASCII paths.Tim Graham2015-07-171-4/+3
|
* Fixed #25078 -- Added support for disabled form fieldsClaude Paroz2015-07-162-0/+41
| | | | Thanks Keryn Knight and Tim Graham for the reviews.
* Fixed #25120 -- Deprecated egg template loader.Tim Graham2015-07-161-0/+1
|
* Fixed #25128 -- Fixed SQLite SchemaEditor crash when ↵Tim Graham2015-07-152-5/+22
| | | | adding a ForeignObject field.
* Filtered out 'base' from database backend choices error ↵Tim Graham2015-07-151-0/+17
| | | | message.
* Fixed #24966 -- Added deployment system check for empty ↵rroskam2015-07-151-0/+15
| | | | ALLOWED_HOSTS.
* Refs #24121 -- Added meaningful repr() to HttpResponse ↵Keryn Knight2015-07-152-0/+15
| | | | and subclasses.
* Refs #25085 -- Used more specific assertion in widget test.Tim Graham2015-07-141-3/+3
|
* Fixed #25085 -- Overrode Select widget's __deepcopy__()Eric Carrillo2015-07-141-0/+15
|
* Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson2015-07-141-1/+1
| | | | | | The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
* Fixed #25099 -- Cleaned up HttpRequest representations ↵Vlastimil Zíma2015-07-142-25/+3
| | | | in error reporting.
* Fixed #25079 -- Added warning if both TEMPLATES and ↵Daniel Roseman2015-07-132-4/+29
| | | | | | | | | | | | TEMPLATE_* settings are defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
* Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov2015-07-138-0/+147
| | | | | | | The new attribute is checked when the `migrate --fake-initial` option is used. initial will be set to True for all initial migrations (this is particularly useful when initial migrations are split) as well as for squashed migrations.
* Fixed #25108 -- Fixed a test which failed on Pillow 2.9+Yosuke Yasuda2015-07-131-10/+14
|
* Refs #24090 -- Added a test for multi-table inheritance ↵Anssi Kääriäinen2015-07-132-1/+6
| | | | | | | | | | + subqueries. Ticket #24090 was already fixed by b68212f539f206679580afbfd008e7d329c9cd31, this commit adds tests to verify this is indeed the case. Thanks to Beauhurst for commissioning the work on this ticket.
* Fixed #25115 -- Made admindocs view bookmarklet reverse ↵Ben Spaulding2015-07-131-1/+1
| | | | the URL rather than hardcode it.
* Fixed #24923 -- errored out nicely when using aggregates ↵Anssi Kääriäinen2015-07-131-0/+8
| | | | in order_by()
* Fixed #25072 -- Prevented GDALRaster memory to be ↵Claude Paroz2015-07-101-0/+5
| | | | | | | | | uncollectable Setting GDALRaster.bands as a cached property was creating a circular reference with objects having __del__ methods, which means the memory could never be freed. Thanks Daniel Wiesmann for the report and test, and Tim Graham for the review.
* Fixed #25093 -- Added ↵darkryder2015-07-101-0/+8
| | | | utils.datastructures.OrderedSet.__len__()
* Fixed a CaptureQueriesContext usage in queries tests.Simon Charette2015-07-091-1/+1
|
* Added a regression test for get() ordering clearing.Simon Charette2015-07-091-0/+8
|
* Fixed #25081 -- Prevented DISTINCT ON ordering from ↵Simon Charette2015-07-091-0/+8
| | | | | | being cleared in get(). Thanks to pdewacht for the patch.
* Fixed catastrophic backtracking in URLValidator.Shai Berger2015-07-083-0/+6
| | | | | | | Thanks João Silva for reporting the problem and Tim Graham for finding the problematic RE and for review. This is a security fix; disclosure to follow shortly.