summaryrefslogtreecommitdiff
path: root/django/db
AgeCommit message (Collapse)Author
2014-07-24Fixed #23014 -- Infinite migration regression with unique/index_together.Tim Graham
2014-07-23Fixed #23030 -- Properly handled geometry columns metadata during migrationsClaude Paroz
Thanks kunitoki for the report and initial patches.
2014-07-22Fixed #23071 -- Use last migration's name in dependency to other appJeroen Dekkers
Changed the autodetector to lookup the name of the other app's last migration in the graph and use that as dependency instead of using __latest__.
2014-07-21Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin
2014-07-21Fixed #23009: Shorten FK identifiers in add_field and make consistentAndrew Godwin
2014-07-21Fixed #22975: Don't call rename SQL if not neededAndrew Godwin
2014-07-21Fixed #23039: Don't try to serialize unmanaged models in testsAndrew Godwin
2014-07-21Fixed #23043: alter_field drops defaults tooAndrew Godwin
2014-07-16Fixed #23041: Bad base dependencies for proxy modelsAndrew Godwin
2014-07-16Fixed #22998 -- Updated the fast_delete logic for GFKsGavin Wahl
2014-07-15Fixed #23013 -- Fixed removing unique_together/index_together constraints in ↵Tim Graham
migrations. Thanks melinath for the report.
2014-07-15Fixed #23008 -- Fixed typo causing bad migration dependencies.Tim Graham
Thanks semenov for the report and Florian for investigation.
2014-07-14Fixed name of database connection featureShai Berger
2014-07-14Fixed #22994 -- regression with generic FK + admin list_viewAnssi Kääriäinen
The reason for the regression was that the GenericForeignKey field isn't something meta.get_field_by_name() should return. The reason is that a couple of places in Django expects get_field_by_name() to work this way. It could make sense to return GFKs from get_field_by_name(), but that should likely be done as part of meta refactoring or virtual fields refactoring patches. Thanks to glicerinu@gmail.com for the report and to Tim for working on the issue.
2014-07-11Fixed #22983: Alert when squashing RunPython operations with referred functions.Andrew Godwin
2014-07-09Fixed #22922: Better error message for InvalidBasesError.Andrew Godwin
2014-07-09Fixed #22970: Incorrect dependencies for existing migrated appsAndrew Godwin
2014-07-09Fixed #19671 -- Added warnings that null and validators are ignored for ↵Anubhav Joshi
ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review.
2014-07-06Fixed #22906 -- Added a more helpful repr to migrations' ModelState.Loic Bistuer
Thanks Collin Anderson for the report and original patch.
2014-07-05Fixed various minor doc typos / references.Daniel Hahler
2014-07-05Fixed flake8 indentation.Tim Graham
2014-07-05Merge pull request #2881 from ↵Andrew Godwin
charettes/ticket-22943-compiled-regex-deconstruction Fixed #22943 -- Correctly serialize compiled regexes.
2014-07-05Fixed #22960: Bad handling of relations as PKs in autodetectorAndrew Godwin
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-07-04Fixed #22943 -- Correctly serialize compiled regexes.Simon Charette
Thanks to antialiasis at gmail dot com for the patch.
2014-07-03Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS.Anubhav Joshi
This allows specifying ForeignKeys in REQUIRED_FIELDS when using a custom User model. Thanks cjerdonek and bmispelon for suggestion and timgraham for review.
2014-07-02Fixed #22935 -- Changed ForeignKey.default_error_messages['invalid'] to ↵Anubhav Joshi
refer to correct field. Thanks Tim Graham for suggestion and review.
2014-07-02Fixed #22940 -- Added missing string iterpolation parameters in ↵Colin Wood
migrations.writer error. Forwardport of f5740af868 from stable/1.7.x
2014-07-01Fixed #19501 -- added Model.from_db() methodAnssi Kääriäinen
The Model.from_db() is intended to be used in cases where customization of model loading is needed. Reasons can be performance, or adding custom behavior to the model (for example "dirty field tracking" to issue automatic update_fields when saving models). A big thank you to Tim Graham for the review!
2014-07-01Fixed #14334 -- Query relation lookups now check object types.Anubhav Joshi
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews.
2014-06-30Fixed problem with refs #10811.Anubhav Joshi
When 'to_field' is specified with a FK, then we need to check the pk value the object.
2014-06-27Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().Tim Graham
2014-06-25Fixed #22903 -- Fixed migration generation if index_together or ↵Tim Graham
unique_together is removed from a model.
2014-06-25Fixed #22050 -- Fixed defer fields on proxy related models.Lovas Bence
2014-06-23Fixed #22708: Typo in autodetector base dependency genAndrew Godwin
2014-06-23Fixed #22889: Unneeded to_field in fk.deconstruct causing swap issuesAndrew Godwin
2014-06-23Fixed #22487: Don't flush out data from before normal TestCasesAndrew Godwin
2014-06-23Fixed problem introduced with #refs 13711.Anubhav Joshi
2014-06-23Fixed #22881 -- Better soft_applied migration detectionChris Beaven
2014-06-22Include swapped apps in autodetector stateAndrew Godwin
2014-06-22Fixed #22875: Optimizer did not take through= into account.Andrew Godwin
2014-06-20Fixed #22514 -- Prevented indexes on virtual fields [postgres].Vlastimil Zíma
2014-06-18Fixed #22778 -- Added a model Meta option to define default_related_name.Renaud Parent
Thanks jorgecarleitao and mmardini for reviews.
2014-06-17Fixed #22861: Internal migrations done first so __first__ worksAndrew Godwin
Thanks to Chris Beaven.
2014-06-17Fix __latest__ to actually resolve to the latest migrationAndrew Godwin
2014-06-17Fixed #22853: Swapped models are now ignored for migration operations.Andrew Godwin
2014-06-17Fixed #13711 -- Model check added to ensure that auto-generated column name ↵Anubhav Joshi
is within limits of the database. Thanks russellm for report and Tim Graham for review.
2014-06-17Merge pull request #2824 from valberg/22577Andrew Godwin
Fixed #22577: Python 3 broke on non-module migrations directory
2014-06-17Fixed #22577: Python 3 broke on non-module migrations directoryVíðir Valberg Guðmundsson
2014-06-17Fixed #22819 -- Renamed output_type -> output_field in query expression API.Tim Graham
Thanks jorgecarleitao for the suggestion.