summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-01Synced .hgignore with .gitignoreTim Graham
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-07-01Fixed typo in writing migrations docsClaude Paroz
2015-06-30DEP 0003 -- Added JavaScript unit tests.Trey Hunner
Setup QUnit, added tests, and measured test coverage. Thanks to Nick Sanford for the initial tests.
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-07-01Removed datetime_cast_sql, which is never overridden or used anywhere in Django.Shai Berger
Thanks Tim Graham for review.
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 #25038 -- Reverted incorrect documentation about inspectdb ↵Tim Graham
introspecting views. This reverts commit bd691f4586c8ad45bd059ff9d3621cbf8afdcdce (refs #24177).
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-29Removed unused condition for the abstract model in ensure_default_manager()Andriy 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-29Removed unnecessary returnAndriy Sokolovskiy
2015-06-29Removed unreachable codeAndriy Sokolovskiy
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-28Used field.clone() where applicableMarkus Holtermann
2015-06-27Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig ↵Trey Hunner
and ESLint)
2015-06-27Renamed MySQL-specific dbshell test file.Tim Graham
2015-06-27Fixed #25033 -- Added context_processors.auth to documented admin dependencies.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-26Loaded real destructor functions before garbage timeClaude Paroz
This is an alternative patch to the unsuccessful b43b27bcd.
2015-06-25Revert "Reverted lazy initialization of GIS destroy functions"Claude Paroz
This reverts commit b43b27bcdf84e816b886d4daf83131949708cecb. This commit broke tests initialization on systems without GIS libraries.
2015-06-25Updated GeoIP test for newer versionsClaude Paroz
2015-06-25Reverted lazy initialization of GIS destroy functionsClaude Paroz
Partial revert of 61d09e61. At __del__ time, it might be to late to bind those functions.
2015-06-25Refs #24127 -- Added documentation for HttpRequest.current_app.Marten Kenbeek
2015-06-25Updated release process for new release schedule.Tim Graham
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-24Reordered import in JSON serializerClaude Paroz
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.