Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -1/+3 |
| | |||||
* | Fixed #25259 -- Added comments to header of generated ↵ | Tyson Clugg | 2015-08-31 | 1 | -1/+23 |
| | | | | migration files | ||||
* | Fixed #25185 -- Added support for functools.partial ↵ | Piper Merriam | 2015-07-29 | 1 | -0/+8 |
| | | | | serialization in migrations | ||||
* | Fixed #25186 -- Improved migration's serialization of ↵ | Piper Merriam | 2015-07-29 | 1 | -0/+5 |
| | | | | builtins on Python 2. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -2/+2 |
| | |||||
* | Fixed #24514 -- Made migration writer omit models import ↵ | Christopher Luc | 2015-04-10 | 1 | -0/+16 |
| | | | | if it's unused. | ||||
* | Fixed #24278 -- Fixed serialization of migration operations. | Marten Kenbeek | 2015-04-05 | 1 | -0/+44 |
| | | | | | | | Fixed MigrationWriter.serialize() to correctly handle migration operations by utilizing OperationWriter. Thanks Piotr Maliński for the report. | ||||
* | Refs #24278 -- Allowed multi-line serializations in ↵ | Marten Kenbeek | 2015-04-05 | 1 | -15/+25 |
| | | | | | | | OperationWriter. Changed OperationWriter to support multi-line serialized values with correct indentation. | ||||
* | Fixed #24566 -- Added support for serializing timedelta | Baptiste Mispelon | 2015-04-02 | 1 | -0/+4 |
| | | | | Thanks to knbk for the report. | ||||
* | Fixed #24521 -- Added support for serializing frozensets ↵ | Baptiste Mispelon | 2015-03-23 | 1 | -0/+4 |
| | | | | in migrations. | ||||
* | Refs #24324 -- Fixed Python 2 test failures when path to ↵ | Tim Graham | 2015-02-18 | 1 | -1/+2 |
| | | | | Django source contains non-ASCII characters. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -9/+11 |
| | |||||
* | Fixed #24155 -- Maintained kwargs and import order in ↵ | Markus Holtermann | 2015-01-20 | 1 | -0/+28 |
| | | | | | | migration writer Thanks Tomas Dobrovolny for the report and Tim Graham for the review. | ||||
* | Cleaned up migration writer tests | Markus Holtermann | 2015-01-17 | 1 | -69/+61 |
| | |||||
* | Fixed #24093 -- Prevented MigrationWriter to write ↵ | Markus Holtermann | 2015-01-08 | 1 | -2/+75 |
| | | | | operation kwargs that are not explicitly deconstructed | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -8/+6 |
| | |||||
* | Fixed #23998 -- Added datetime.time support to ↵ | Oscar Ramirez | 2014-12-22 | 1 | -0/+4 |
| | | | | migrations questioner. | ||||
* | Fixed reverse test execution for migration manager tests | Markus Holtermann | 2014-12-15 | 1 | -5/+6 |
| | | | | Thanks to Tim Graham for reporting the issue; refs #23822 | ||||
* | Fixed #23822 -- Added support for serializing model ↵ | Markus Holtermann | 2014-12-15 | 1 | -0/+10 |
| | | | | | | | managers in migration Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input. | ||||
* | Fixed #23950 -- Prevented calling deconstruct on classes ↵ | Gavin Wahl | 2014-12-03 | 1 | -0/+11 |
| | | | | in MigrationWriter. | ||||
* | Fixed #23770 -- Changed serialization strategy for ↵ | Markus Holtermann | 2014-11-06 | 1 | -0/+5 |
| | | | | | | floats with respect to NaN and Inf Thanks to w0rp for the report | ||||
* | Fixed #23365 -- Added support for timezone-aware ↵ | Rudy Mutter | 2014-09-30 | 1 | -3/+26 |
| | | | | datetimes to migrations. | ||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵ | Thomas Chaumeny | 2014-09-28 | 1 | -2/+2 |
| | | | | | | 3282. Thanks Collin Anderson for the review. | ||||
* | Fixed #23560 -- Fixed MigrationWrite to handle builtin ↵ | Loic Bistuer | 2014-09-26 | 1 | -0/+5 |
| | | | | | | types without imports. Thanks Tim Graham for the review. | ||||
* | Fixed broken test from da160d440f; refs #23418. | Markus Holtermann | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Fixed #23418 -- Fail when migration deconstruct produces ↵ | Markus Holtermann | 2014-09-08 | 1 | -2/+10 |
| | | | | invalid import | ||||
* | Fixed #23316 -- Added datetime.time serialization in ↵ | Lee Sanghyuck | 2014-08-19 | 1 | -0/+1 |
| | | | | migrations. | ||||
* | Silenced a Python 2 ImportWarning in a migrations test. | Tim Graham | 2014-07-24 | 1 | -1/+7 |
| | |||||
* | Fixed #22943 -- Correctly serialize compiled regexes. | Simon Charette | 2014-07-04 | 1 | -12/+46 |
| | | | | Thanks to antialiasis at gmail dot com for the patch. | ||||
* | Fixed #22940 -- Added missing string iterpolation ↵ | Colin Wood | 2014-07-02 | 1 | -0/+13 |
| | | | | | | parameters in migrations.writer error. Forwardport of f5740af868 from stable/1.7.x | ||||
* | Fixed #22577: Python 3 broke on non-module migrations ↵ | Víðir Valberg Guðmundsson | 2014-06-17 | 1 | -0/+1 |
| | | | | directory | ||||
* | Fixed #22788 -- Ensured custom migration operations can ↵ | Matthew Schinckel | 2014-06-16 | 1 | -0/+22 |
| | | | | | | | | be written. This inspects the migration operation, and if it is not in the django.db.migrations module, it adds the relevant imports to the migration writer and uses the correct class name. | ||||
* | Fixed #22436: More careful checking on method ref'ce ↵ | Andrew Godwin | 2014-06-08 | 1 | -0/+27 |
| | | | | serialization | ||||
* | Fixed tuple serialization test. | Baptiste Mispelon | 2014-05-23 | 1 | -1/+1 |
| | | | | Thanks to rockallite for the report. | ||||
* | Fixed #22679 -- Fixed empty tuple serialization in ↵ | Moayad Mardini | 2014-05-22 | 1 | -0/+12 |
| | | | | | | MigrationWriter. Thanks rockallite.wulf for the report. | ||||
* | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | Appeased flake8 2.1.0. | Aymeric Augustin | 2014-04-21 | 1 | -1/+1 |
| | |||||
* | Fixed #22350 -- Consistently serialize bytes and text in ↵ | Simon Charette | 2014-04-14 | 1 | -4/+19 |
| | | | | | | migrations. Thanks to @treyhunner and Loïc for their suggestions and review. | ||||
* | Fixed #22363 -- Correctly serialize ↵ | Simon Charette | 2014-04-03 | 1 | -1/+9 |
| | | | | | | `django.utils.datetime_safe` objects. Thanks to linovia for the report. | ||||
* | Fixed #21954: Raise nice error when serializing ↵ | Andrew Godwin | 2014-02-09 | 1 | -0/+3 |
| | | | | datetimes with timezones | ||||
* | Added some missing whitespace around arithmetic operators | Alex Gaynor | 2014-01-22 | 1 | -1/+1 |
| | |||||
* | Fixed #21852 -- Make migration writer serialize iterators | Markus Holtermann | 2014-01-22 | 1 | -0/+7 |
| | |||||
* | Fixed #21323 -- Improved readability of serialized ↵ | Loic Bistuer | 2014-01-19 | 1 | -1/+14 |
| | | | | Operation. | ||||
* | Implement swappable model support for migrations | Andrew Godwin | 2014-01-19 | 1 | -3/+13 |
| | |||||
* | Dropped AppCache._empty, _with_app and _without_app. | Aymeric Augustin | 2013-12-23 | 1 | -2/+1 |
| | | | | | It's now easier to achieve the same effect with modify_settings or override_settings. | ||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Expurged INSTALLED_APPS from code and tests. | Aymeric Augustin | 2013-12-22 | 1 | -8/+7 |
| | | | | Except the app cache code and a few specific tests, of course. | ||||
* | Deprecated load_app(). | Aymeric Augustin | 2013-12-22 | 1 | -5/+5 |
| | | | | | | | | | Adjusted several tests that used it to add apps to the app cache and then attempted to remove them by manipulating attributes directly. Also renamed invalid_models to invalid_models_tests to avoid clashing application labels between the outer and the inner invalid_models applications. | ||||
* | Moved the new app cache inside core. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Removed module-level functions for the app cache. | Aymeric Augustin | 2013-12-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions. |