summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-11Removed superfluous code now that connections use autocommit by default.Aymeric Augustin
2013-03-11Enabled database-level autocommit for all backends.Aymeric Augustin
This is mostly a documentation change. It has the same backwards-incompatibility consequences as those described for PostgreSQL in a previous commit.
2013-03-11Removed _enter/_leave_transaction_management.Aymeric Augustin
The goal is to make all databases share a common, autocommit-based, implementation.
2013-03-11Added BaseDatabaseWrapper.ensure_connection.Aymeric Augustin
This API is useful because autocommit cannot be managed without an open connection.
2013-03-11Expressed the dirty flag handling logic in terms of autocommit.Aymeric Augustin
2013-03-11Stopped flipping the uses_savepoints feature at runtime.Aymeric Augustin
2013-03-11Enabled autocommit for PostgreSQL.Aymeric Augustin
For users who didn't activate autocommit in their database options, this is backwards-incompatible in "non-managed" aka "auto" transaction state. This state now uses database-level autocommit instead of ORM-level autocommit. Also removed the uses_autocommit feature which lost its purpose.
2013-03-11Separated autocommit and isolation level handling for PostgreSQL.Aymeric Augustin
Autocommit cannot be manipulated independently from an open connection. This commit introduces a minor change in behavior: entering transaction management forces opening a databasse connection. This shouldn't be backwards incompatible in any practical use case.
2013-03-11Added an API to control database-level autocommit.Aymeric Augustin
2013-03-11Made transaction.managed a no-op and deprecated it.Aymeric Augustin
enter_transaction_management() was nearly always followed by managed(). In three places it wasn't, but they will all be refactored eventually. The "forced" keyword argument avoids introducing behavior changes until then. This is mostly backwards-compatible, except, of course, for managed itself. There's a minor difference in _enter_transaction_management: the top self.transaction_state now contains the new 'managed' state rather than the previous one. Django doesn't access self.transaction_state in _enter_transaction_management.
2013-03-11Moved a warning in the 1.6 notes back to its expected location.Aymeric Augustin
2013-03-10Fixed #20019 -- Ensured HttpRequest.resolver_match always exists.Aymeric Augustin
Obviously it isn't set until the URL is resolved.
2013-03-10Made (make|compile)messages check for availability of gettext commands.Ramiro Morales
Refs #19584.
2013-03-10Merge pull request #892 from JonLoy/ticket_20018Alex Gaynor
Fixed #20018: Added backtick to fix reference
2013-03-10Fixed #20018: Added backtick to fix referenceJonathan Loy
Fixed #20018
2013-03-10Fixed #20008 -- Removed trailing slash in Wikipedia linkClaude Paroz
Thanks senden9 at gmail.com for the report.
2013-03-09Fixed BinaryField support on Oracle.Florian Apolloner
2013-03-09Fixed #19171 -- Allowed coordinate transforms with custom SRIDsClaude Paroz
Thanks reidpr at lanl.gov for the report.
2013-03-09Fixed #9806 -- Allowed editing GeometryField with OpenLayersWidgetClaude Paroz
Thanks Paul Winkler for the initial patch.
2013-03-09Reformatted slightly openlayers.jsClaude Paroz
2013-03-09Fixed #19923 -- Display tracebacks for non-CommandError exceptionsClaude Paroz
By default, show tracebacks for management command errors when the exception is not a CommandError. Thanks Jacob Radford for the report.
2013-03-09Fixed #16594 -- Added wkt 3D support for GEOS geometriesClaude Paroz
This requires GEOS >= 3.3.0 to function properly. On previous versions, the Z dimension will simply not appear in the wkt. Disabled OpenLayers editing for 3D geometries (unsupported).
2013-03-08Replaced proj4 testing by a regexClaude Paroz
2013-03-08Fixed a regression in forms changed_dataClaude Paroz
Thanks Loic Bistuer for spotting the regression and the initial patch. Refs #16612.
2013-03-08Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵Loic Bistuer
return a QuerySet.
2013-03-07Merge pull request #850 from bmispelon/ticket-19916Aymeric Augustin
Fix 19916. Smarter tokenizing of contrib.comment's templatetags arguments
2013-03-07Adde two "versionadded" markers, thanks to mYk for noticing.Alex Gaynor
2013-03-07Added a ManyToManyField(db_constraint=False) option, this allows not ↵Alex Gaynor
creating constraints on the intermediary models.
2013-03-07Fix 19916. Smarter tokenizing of contrib.comment's templatetags arguments.Baptiste Mispelon
2013-03-07Fixed #19997 -- Added custom EMPTY_VALUES to form fieldsClaude Paroz
Thanks Loic Bistuer for the report and the patch.
2013-03-07Added missing method in the dummy database backend.Aymeric Augustin
2013-03-06Fixed #19951 -- Admin: Invalid model PK values shouldn't cause 500 status.Igor Támara
Avoid ValueError in admin when passing a string as PK for an inherited model with an integer PK field. Thanks ikks for the patch. See also #11191.
2013-03-06Merge pull request #882 from loic/testfixRamiro Morales
Fixed minor warnings in tests.
2013-03-06PEP8 cleanup of functional.pyPreston Holmes
2013-03-06Fixed #19543 -- implemented SimpleLazyObject.__repr__Preston Holmes
Thanks to Florian Hahn for the patch
2013-03-06Merge pull request #884 from manfre/patch-1Aymeric Augustin
Fixed #19996 - Updated link to django-mssql project in docs.
2013-03-06Update link to django-mssql projectMichael Manfre
2013-03-06One more EMPTY_VALUES replacement following 22be90dd17Claude Paroz
Thanks Loic Bistuer for catching this omission. Refs #19989.
2013-03-06Used more precise test assertions.Aymeric Augustin
2013-03-06Fixed #19994 -- Typo.Aymeric Augustin
Thanks akshar for the report.
2013-03-06Fixed #19989 -- Suppressed UnicodeWarning during BinaryField validationClaude Paroz
Thanks Aymeric Augustin for the report and Simon Charette for the review.
2013-03-06Fixed minor warnings in tests.Loic Bistuer
2013-03-04Fixed #6585 -- Admin relationship widgets: Respect ordering defined by ↵Juan Pedro Fisanotti
target model's ModelAdmin. Thanks Gary Wilson for the report and Juan Pedro Fisanotti, Carlos Matías de la Torre for the fix.
2013-03-04Fixed #19838 -- Admin: Don't leak a 500 HTTP status when trying to delete ↵Javier Mansilla
protected FKs. Thanks rafadev for the report and Javier Mansilla for the fix.
2013-03-04Fixed #19464 -- Eased customization of ClearableFileInput's link markupClaude Paroz
Thanks rubyruy for the report and the patch.
2013-03-03Merge pull request #871 from matiasb/ticket_19945Ramiro Morales
Fixed #19945 -- Fixed default User model Meta inheritance.
2013-03-03Removed mentions of modeltests.Ramiro Morales
2013-03-03Removed mentions of regressiontests.Ramiro Morales
2013-03-03Release notes blurb for 804366327d728d23a9f7a25ff77a6eed3c9f9323.Ramiro Morales
2013-03-03Fixed #19915 - Made blocktrans tag honor TEMPLATE_STRING_IF_INVALID.matiasb
Thanks Natalia Bidart for the report and Matías Bordese for the fix.