summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-07-20Fixed #25141 -- Diminished GDAL dependence during geojson serializationClaude Paroz
Only require GDAL if contained geometries need coordinate transformations. Thanks drepo for the report and Tim Graham for the review.
2015-07-20Fixed #25052; refs #16860 -- Added password validation to UserCreationForm.Tim Graham
2015-07-20Refs #16860 -- Moved password_changed() logic to AbstractBaseUser.Tim Graham
Thanks Carl Meyer for review.
2015-07-20Refs #23622 -- Added tests to ensure ordering is retained for distinct on ↵Anssi Kääriäinen
fields subqueries. The ticket was already fixed by b68212f539f206679580afbfd008e7d329c9cd31. Thanks to Beauhurst for commissioning the work on this ticket.
2015-07-20Fixed test with incorrect assumption about pk values.Anssi Kääriäinen
The test results were dependent on the order in which the tests were run.
2015-07-20Replaced six.BytesIO with io.BytesIOTim Graham
2015-07-18Replaced try/finally by mock.patch in geos testsClaude Paroz
2015-07-17Fixed #16501 -- Added an allow_unicode parameter to SlugField.Edward Henderson
Thanks Flavio Curella and Berker Peksag for the initial patch.
2015-07-17Fixed db.utils.load_backend() on non-ASCII paths.Tim Graham
2015-07-16Fixed #25078 -- Added support for disabled form fieldsClaude Paroz
Thanks Keryn Knight and Tim Graham for the reviews.
2015-07-16Fixed #25120 -- Deprecated egg template loader.Tim Graham
2015-07-15Fixed #25128 -- Fixed SQLite SchemaEditor crash when adding a ForeignObject ↵Tim Graham
field.
2015-07-15Filtered out 'base' from database backend choices error message.Tim Graham
2015-07-15Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS.rroskam
2015-07-15Refs #24121 -- Added meaningful repr() to HttpResponse and subclasses.Keryn Knight
2015-07-14Refs #25085 -- Used more specific assertion in widget test.Tim Graham
2015-07-14Fixed #25085 -- Overrode Select widget's __deepcopy__()Eric Carrillo
2015-07-14Fixed #24716 -- Deprecated Field._get_val_from_obj()Thomas Stephenson
The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method.
2015-07-13Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.Vlastimil Zíma
2015-07-13Fixed #25079 -- Added warning if both TEMPLATES and TEMPLATE_* settings are ↵Daniel Roseman
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.
2015-07-13Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov
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.
2015-07-13Fixed #25108 -- Fixed a test which failed on Pillow 2.9+Yosuke Yasuda
2015-07-13Refs #24090 -- Added a test for multi-table inheritance + subqueries.Anssi Kääriäinen
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.
2015-07-13Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than ↵Ben Spaulding
hardcode it.
2015-07-13Fixed #24923 -- errored out nicely when using aggregates in order_by()Anssi Kääriäinen
2015-07-10Fixed #25072 -- Prevented GDALRaster memory to be uncollectableClaude Paroz
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.
2015-07-09Fixed #25093 -- Added utils.datastructures.OrderedSet.__len__()darkryder
2015-07-09Fixed a CaptureQueriesContext usage in queries tests.Simon Charette
2015-07-09Added a regression test for get() ordering clearing.Simon Charette
2015-07-09Fixed #25081 -- Prevented DISTINCT ON ordering from being cleared in get().Simon Charette
Thanks to pdewacht for the patch.
2015-07-08Fixed catastrophic backtracking in URLValidator.Shai Berger
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.
2015-07-08Prevented newlines from being accepted in some validators.Tim Graham
This is a security fix; disclosure to follow shortly. Thanks to Sjoerd Job Postmus for the report and draft patch.
2015-07-08Fixed #19324 -- Avoided creating a session record when loading the session.Carl Meyer
The session record is now only created if/when the session is modified. This prevents a potential DoS via creation of many empty session records. This is a security fix; disclosure to follow shortly.
2015-07-07Replaced try..except blocks by context manager in custom lookups testsAndriy Sokolovskiy
2015-07-07Fixed #22804 -- Added warning for unsafe value of 'sep' in SignerDavid Wolever
Thanks Jaap Roes for completing the patch.
2015-07-06Refs #23658 -- Fixed dbshell tests on Windows.Tim Graham
2015-07-06Fixed #25059 -- Allowed Punycode TLDs in URLValidatorAlexey Sveshnikov
2015-07-06Fixed some unclosed objects in testsAndriy Sokolovskiy
2015-07-06Refs #4960 -- Fixed selenium test failures for CharField strip changes.Tim Graham
2015-07-03Fixed #24877 -- Added middleware handling of response.render() errors.Sylvain Fankhauser
2015-07-03Fixed #23190 -- Made Paginator.page_range an iteratorRigel Di Scala
2015-07-03Fixed #25055 -- Made m2m long name testing friendlier for 3rd party databases.Michael Manfre
2015-07-03Fixed #25032 -- Removed double redirect in admin login.Jan Pazdziora
2015-07-03Fixed #25056 -- Documented minimum version of jinja2 for testing.Tim Graham
2015-07-03Refs #25050 -- Corrected test assertion in serializers test.Tim Graham
2015-07-02Fixed #25029 -- Added PersistentRemoteUserMiddleware for login-page-only ↵Jan Pazdziora
external authentication.
2015-07-02Fixed #25050 -- Allowed serialization of models with deferred fields.Grégoire ROCHER
2015-07-02Used assertRaisesMessage in managers_regress tests.Tim Graham
2015-07-02Fixed #25054 -- Added app_label to swapped model AttributeErrorChris Lamb
2015-07-02Fixed #24997 -- Enabled bulk_create() on proxy modelsWilliam Schwartz