summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-07-01Fixed #4960 -- Added "strip" option to CharFieldCurtis
2015-07-01Refs #23658 -- Fixed unclosed file in dbshell tests.Tim Graham
2015-07-01Fixed #20916 -- Added Client.force_login() to bypass authentication.Jon Dufresne
2015-07-01Fixed #21695 -- Added asvar option to blocktrans.Matthew Somerville
Thanks Bojan Mihelac for the initial patch.
2015-07-01Fixed #24982 -- Split staticfiles tests into multiple filesMoritz Sichert
2015-06-30Fixed #18247 -- Added cast to NUMERIC for Decimals on sqliteMichael Tänzer
On sqlite the SUM() of a decimal column doesn't have a NUMERIC type so when comparing it to a string literal (which a Decimal gets converted to in Django) it is not compared as expected.
2015-06-30Fixed #23658 -- Provided the password to PostgreSQL dbshell commandJean-Michel Vourgère
The password from settings.py is written in a temporary .pgpass file file whose name is given to psql using the PGPASSFILE environment variable.
2015-06-30Refs #23621 -- Fixed warning message when reloading models.Marten Kenbeek
2015-06-30Fixed #21803 -- Added support for post-commit callbacksAndreas Pelme
Made it possible to register and run callbacks after a database transaction is committed with the `transaction.on_commit()` function. This patch is heavily based on Carl Meyers django-transaction-hooks <https://django-transaction-hooks.readthedocs.org/>. Thanks to Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30Fixed #24911 -- Made BaseManager.get_queryset() allow custom queryset args.Jonas Degrave
2015-06-30Used %r in the TextNode repr to show newlines better.Ned Batchelder
2015-06-29Refs #20203 -- Added tests to check inherited custom default managerAndriy Sokolovskiy
2015-06-29Refs #20203 -- Allowed adding custom default manager to the model stateAndriy Sokolovskiy
If the only manager on the model is the default manager defined by Django (`objects = models.Manager()`), this manager will not be added to the model state. If it is custom, it needs to be passed to the model state.
2015-06-29Fixed #25018 -- Changed simple_tag to apply conditional_escape() to its output.Luke Plant
This is a security hardening fix to help prevent XSS (and incorrect HTML) for the common use case of simple_tag. Thanks to Tim Graham for the review.
2015-06-29Fixed #23791 -- Corrected object type check for pk__in=qsAnssi Kääriäinen
When the pk was a relation field, qs.filter(pk__in=qs) didn't work. In addition, fixed Restaurant.objects.filter(place=restaurant_instance), where place is an OneToOneField and the primary key of Restaurant. A big thank you to Josh for review and to Tim for review and cosmetic edits. Thanks to Beauhurst for commissioning the work on this ticket.
2015-06-27Renamed MySQL-specific dbshell test file.Tim Graham
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-27Fixed #24887 -- Removed one-arg limit from models.aggregateGreg Chapple
2015-06-27Removed unused code after refs #25017.Tim Graham
2015-06-27Fixed #25031 -- Fixed a regression in the unordered_list template filter.Noam
2015-06-27Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS responsesujayskumar
2015-06-26Fixed #24958 -- Fixed inline forms using UUID-PK parents with auto-PK children.Jason Hoos
2015-06-26Pushed GDAL skip condition inside testClaude Paroz
As GDAL_VERSION is conditionnaly imported, it cannot be referenced in skipIf decorator.
2015-06-26Refs #24840 -- Added skip flag to raster transform test for GDAL<1.8.1.Daniel Wiesmann
Thanks to Simon Charette for the report.
2015-06-26Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on ↵薛丞宏
Python 3.
2015-06-25Updated GeoIP test for newer versionsClaude Paroz
2015-06-24Refs #25002 -- Supported textual to temporal column alteration on Oracle.Simon Charette
Thanks to Tim Graham for the report and Shai Berger for the review.
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-06-24Fixed #25019 -- Added UUID support in DjangoJSONEncoderLukas Hetzenecker
2015-06-24Refs #24840 -- Added GDALRaster Warp and transform methodsDaniel Wiesmann
Thanks to Tim Graham for the review.
2015-06-23Fixed #25011, Refs #23804 -- Added check for GDAL on RasterField initializationDaniel Wiesmann
2015-06-23Improved coverage configurationMarkus Holtermann
By providing a .coveragerc file with all default settings, users only have to execute "coverage run ./runtests.py" without the need to specify all the possible flags. The same applies to "coverage html" and "coverage xml".
2015-06-23Used mock in MigrationQuestioner testsMarkus Holtermann
Thanks Andriy Sokolovskiy and Simon Charette for the review.
2015-06-23Fixed #25000 -- Fixed cast to string for lazy objects.Marten Kenbeek
Implemented __str__() to return the string-representation of the proxied object, not the proxy itself, if the lazy object didn't have a string-like object in its resultclasses.
2015-06-22Fixed #25009 -- Allowed User.objects.create_user(...,is_staff=True) to work.Francisco Albarran
2015-06-22Fixed #25002 -- Used PostgreSQL column type alteration USING clause.Simon Charette
Thanks to Dirk Uys for the report.
2015-06-22Refs #25006 -- Added a '6 p.m.' option to the admin's time picker.Tim Graham
2015-06-22Fixed #24970 -- Added --managers and --admins options to the sendtestemail ↵Rolo
management command.
2015-06-20Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.Marten Kenbeek
Made BaseHandler fall back to settings.ROOT_URLCONF if HttpRequest.urlconf is set to None, rather than raising ImproperlyConfigured.
2015-06-20Refs #24978 -- Amended test filename to avoid checkout warnings on Windows.Gagaro
2015-06-20Added GDAL 2.0 supportClaude Paroz
2015-06-19Fixed #20197 -- Made XML serializer fail loudly when outputting ↵Claude Paroz
unserializable chars Thanks Tim Graham for the review.
2015-06-19Fixed #23804 -- Added RasterField for PostGIS.Daniel Wiesmann
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
2015-06-19Fixed #24940 -- Made model managers hashableMarkus Holtermann
Thanks Federico Jaramillo Martínez for the report and Tim Graham for the test and review.
2015-06-18Fixed reverse sites_tests failures introduced in refs #24834.Tim Graham
2015-06-18Fixed #24962 -- Added newline to characters escaped by ↵Tim Graham
contrib.admin.utils.quote() Thanks alito for the report and patch.
2015-06-18Fixed #24873 -- Prevented nested Prefetch objects from being overwritten.Gagaro
2015-06-18Fixed #24834 -- Fixed get_current_site() when Host header contains port.Nick Pope
When the Host header contains a port, looking up the Site record fails as the host will never match the domain.
2015-06-18Removed support for Python 3.3.Tim Graham
2015-06-17Fixed #24914 -- Added authentication mixins for CBVsMarkus Holtermann
Added the mixins LoginRequiredMixin, PermissionRequiredMixin and UserPassesTestMixin to contrib.auth as counterparts to the respective view decorators. The authentication mixins UserPassesTestMixin, LoginRequiredMixin and PermissionRequiredMixin have been inspired by django-braces <https://github.com/brack3t/django-braces/> Thanks Raphael Michel for the initial patch, tests and docs on the PR and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the review.