summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2014-08-19Replaced HAS_SPATIAL_DB by testing database featureClaude Paroz
Refs #22632. This should be the base for using more database features to exclude specific backends in GIS tests. Thanks Tim Graham for the review.
2014-08-14Fixed #23288: deconstruct() ignoring related_nameAndrew Godwin
2014-08-13Fixed #22646: Added support for the MySQL ssl-ca option to dbshell.zsoldosp
2014-08-12Fixed #23275: Unmanaged models kept by autodetector, ignored by opsAndrew Godwin
2014-08-12Avoided creation of deferred model from another deferred modelAnssi Kääriäinen
Also never create deferred model when no attrs are deferred.
2014-08-12Fixed #23001 -- Fixed mixing defer and annotationsJosh Smeaton
2014-08-11Fixed #16426 -- deletion of 1000+ objects with relations on SQLiteAnssi Kääriäinen
SQLite doesn't work with more than 1000 parameters in a single query. The deletion code could generate queries that try to get related objects for more than 1000 objects thus breaking the limit. Django now splits the related object fetching into batches with at most 1000 parameters. The tests and patch include some work done by Trac alias NiGhTTraX in ticket #21205.
2014-08-11Fixed #23266 -- Prevented queries caused by type checking lookup valuesAnubhav Joshi
Small modifications done by committer.
2014-08-11Fixed #23259 -- Corrected insertion order of extra() select_paramsRajiv Makhijani
A regression caused queries to produce incorrect results for cases where extra(select) is excluded by values() but included by extra(order_by) The regression was caused by 2f35c6f10fcbae541691207fb0c0560a13b754fc.
2014-08-10Made sqlite's remove_field behave like the base backend.Florian Apolloner
2014-08-09Removed unused migrate optionClaude Paroz
2014-08-09Fixed #23264: Schema backends honour db_constraintAndrew Godwin
2014-08-08Don't treat .pyc/pyo files as migrations. Refs #23237 among others.Andrew Godwin
2014-08-07Fixed flake8 warning.Tim Graham
2014-08-07Use smart_text rather than naive forcing-to-unicode for state readingAndrew Godwin
2014-08-07Fixed #23226: Model options appearing as bytes type in migrationsAndrew Godwin
2014-08-07Moved index dropping after FK dropping to please MySQL and fix testAndrew Godwin
2014-08-07Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin
2014-08-06Fixed #21603 -- Fixed complex RawQuerySets queries on some versions of SQLite.Alex Hill
2014-08-05Removed code that assumed BooleanField could be null.Tim Graham
Such a field will no longer pass model validation.
2014-08-05Fixed #23061: Avoided setting a limit on a query for get with ↵Shai Berger
select_for_update on Oracle Thanks Michael Miller for reporting the issue.
2014-08-04Fixed #16311 -- Added a RelatedOnlyFieldListFilter class in admin.filters.Stanislas Guerra
2014-08-04Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell.Mihail Milushev
This fixes escaping of special characters on Windows.
2014-08-04Fixed #23091: CreateModel and AddField were clashing with deferred SQLAndrew Godwin
2014-08-03Fixed #23160 -- Correctly rename models with self referential fields.Simon Charette
Thanks to whitews AT gmail for the report.
2014-08-03Removed unnecessary code in ManyToManyField.deconstruct()Baptiste Mispelon
2014-08-03Added missing logic to TimeField.deconstruct().Baptiste Mispelon
If auto_now or auto_now_add was used then the serialized field in the migration contained unnecessary `editable` and `blank` arguments.
2014-08-03Fixed #23156 -- Added missing BinaryField.deconstruct() method.Baptiste Mispelon
2014-08-02Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.Tim Graham
2014-08-01Fixed #23145 -- Dropped support for Oracle < 11.1Tim Graham
2014-08-01Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.Tim Graham
Thanks Claude Paroz for the review.
2014-08-01Fixed #21940 -- Added kwargs to contribute_to_class() of model fields..Mitar
Thanks Kronuz for the suggestion.
2014-07-31Fixed flake8 warnings.Tim Graham
2014-07-30Fixed #23112 -- Field.get_choices tries to index an iterableareski
2014-07-29Fixed #23092: Squashing handles external dependenciesAndrew Godwin
2014-07-29Fixed #23101: Prefer doing deletes before creates in autodetector.Andrew Godwin
Makes declined or missed renames still work (but drop data).
2014-07-29Fix soft_applied in a way that doesn't break testsAndrew Godwin
2014-07-29Make detect_soft_applied exit correctly on non-create migrationsAndrew Godwin
2014-07-28Fixed #23121: AlterModelOptions operation not changing state rightAndrew Godwin
2014-07-28Fixed #23100: Individual FK creation missing dependenciesAndrew Godwin
2014-07-28Fixed #23074 -- Avoided leaking savepoints in atomic.Aymeric Augustin
Thanks Chow Loong Jin for the report and the initial patch.
2014-07-27Fixed #23098 -- Checked that lazy choices are not evaluated too soonFlorian Apolloner
Thanks Matthieu Agopian for the report.
2014-07-26Fixed #23101 db_table wasn't copied in deconstructAbraham Martin
Forward port of 999758fc7a2d6fcb01eb40de937d4420f884788d from stable/1.7.x
2014-07-26Fixed #22944: Bad dependency on FK alteration in autodetectorAndrew Godwin
2014-07-26Fixed #22873 -- Renamed use_debug_cursor to force_debug_cursor to clarify ↵areski
the behavior.
2014-07-26Fixed #22887 -- Added comment for translators on unique_for_date error messageFederico Frenguelli
2014-07-25Fixed #23085: Better error message for PostGIS 1.5/bad custom fieldsAndrew Godwin
2014-07-25Restore support for reading __latest__ for compatabilityAndrew Godwin
2014-07-25Fixed #23093: soft application detection for swapped modelsAndrew Godwin
2014-07-25Merge pull request #2938 from dekkers/ticket_23071Andrew Godwin
Fixed #23071 -- Use last migration's name in dependency to other app