Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25604 -- Added makemigrations --check option. | Jon Dufresne | 2015-10-24 | 1 | -6/+17 |
| | | | | Command exits with non-zero status if changes without migrations exist. | ||||
* | Fixed #25350 -- Added alias --no-input for --noinput to ↵ | Raphael Michel | 2015-09-08 | 1 | -1/+2 |
| | | | | management commands. | ||||
* | Fixed #25047 -- Improved "Conflicting migrations" error ↵ | Tim Graham | 2015-08-24 | 1 | -1/+2 |
| | | | | message. | ||||
* | Fixed #24755 -- Hid operations from dependency apps when ↵ | Markus Holtermann | 2015-08-18 | 1 | -1/+5 |
| | | | | | | merging migrations Thanks Carl Meyer for the report and Tim Graham for the review. | ||||
* | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | 2015-05-13 | 1 | -2/+2 |
| | |||||
* | Fixed #24427 -- Stopped writing migration files in dry ↵ | John Giannelos | 2015-03-16 | 1 | -4/+15 |
| | | | | | | run mode when merging. Also added display of migration to stdout when verbosity=3. | ||||
* | Fixed #23407 -- Extended coverage of makemigrations ↵ | Marten Kenbeek | 2015-03-08 | 1 | -1/+6 |
| | | | | | | | --noinput option. Changed --noinput option in makemigrations to suppress all user prompts, not just when combined with --merge. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -4/+6 |
| | |||||
* | Fixed #23968 -- Replaced list comprehension with ↵ | Jon Dufresne | 2014-12-08 | 1 | -7/+7 |
| | | | | generators and dict comprehension | ||||
* | Fixed #23728 -- Added the --exit option to makemigrations. | Tim Heap | 2014-11-28 | 1 | -8/+16 |
| | | | | | If no changes that need migrations are found, `makemigrations --exit` exits with error code 1. | ||||
* | Removed reduce() usage in makemigrations; refs #23796. | Brad Walker | 2014-11-20 | 1 | -17/+11 |
| | | | | | | | | | | | | | | A lambda all_items_equal() replaced a reduce() that was broken for potential 3+-way merges. A reduce(operator.eq, ...) accumulates bools and can't generically check equality of all items in a sequence: >>> bool(reduce(operator.eq, [('migrations', '0001_initial')] * 3)) False The code now counts the number of common ancestors to calculate slice offsets for the branches. Each branch shares the same number of common ancestors. The common_ancestor for loop statement had incomplete branch coverage. | ||||
* | Limited lines to 119 characters in django/ | Tim Graham | 2014-09-05 | 1 | -2/+7 |
| | | | | refs #23395. | ||||
* | Fixed #23302 -- Added --name/-n option to makemigrations ↵ | Raffaele Salmaso | 2014-09-03 | 1 | -1/+9 |
| | | | | command | ||||
* | Fixed #22791 -- Invoke interactive questioner only for ↵ | Huu Nguyen | 2014-07-14 | 1 | -0/+9 |
| | | | | | | conflicts in specified apps. Thanks bendavis78 for the report and Tim Graham for the review. | ||||
* | Fixed #22862 -- Added --noinput option to makemigrations. | Huu Nguyen | 2014-06-20 | 1 | -1/+3 |
| | | | | Thanks artortenburger for the report. | ||||
* | Fixed #22848: Ignore no-migrations errors during ↵ | Andrew Godwin | 2014-06-16 | 1 | -1/+1 |
| | | | | makemigrations only | ||||
* | Converted remaining management commands to argparse | Claude Paroz | 2014-06-14 | 1 | -13/+11 |
| | |||||
* | Fixed #22777: Add dependency on through for autodetected ↵ | Andrew Godwin | 2014-06-09 | 1 | -1/+5 |
| | | | | M2M adds | ||||
* | Fixed #22675 -- makemigrations --dry-run to output ↵ | Moayad Mardini | 2014-05-26 | 1 | -1/+7 |
| | | | | | | | migrations to stdout. `makemigrations --dry-run` will output the complete migrations file that would be written if it's used along with `--verbosity 3`. | ||||
* | Fixed #22676 -- makemigrations --dry-run should not ask ↵ | Moayad Mardini | 2014-05-24 | 1 | -1/+1 |
| | | | | | | | | | | for defaults Made the fix in InteractiveMigrationQuestioner class code, rather than MigrationAutodetector, because --dry-run shouldn't affect whether MigrationAutodetector will detect non-nullable fields, but the questioner should skip the question and returns a None for default (since that won't be used anyway) if --dry-run is used. | ||||
* | Removed unused imports in makemigrations | Claude Paroz | 2014-05-08 | 1 | -3/+2 |
| | |||||
* | Fixed #22576: Ensure makemigrations doesn't touch the ↵ | Andrew Godwin | 2014-05-07 | 1 | -4/+3 |
| | | | | database. | ||||
* | Cleanup failing test w/contenttypes and remove useless ↵ | Andrew Godwin | 2014-05-01 | 1 | -2/+1 |
| | | | | graph load | ||||
* | Fixed #22485: Include all unmigrated apps in project ↵ | Andrew Godwin | 2014-04-30 | 1 | -2/+2 |
| | | | | state by default. | ||||
* | Fixed #22511 -- Added args to migrations management ↵ | Bruno Ribeiro da Silva | 2014-04-30 | 1 | -0/+1 |
| | | | | commands. | ||||
* | Fix bad conflict detection during makemigrations | Andrew Godwin | 2014-03-08 | 1 | -1/+1 |
| | |||||
* | Add --empty option to makemigrations | Andrew Godwin | 2014-02-12 | 1 | -1/+26 |
| | |||||
* | Fixed #21968: Bad detection of old-style apps to add ↵ | Andrew Godwin | 2014-02-09 | 1 | -0/+2 |
| | | | | initial migration | ||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -3/+3 |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Moved the new app cache inside core. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | Deprecated get_app(). | Aymeric Augustin | 2013-12-17 | 1 | -3/+2 |
| | |||||
* | Removed module-level functions for the app cache. | Aymeric Augustin | 2013-12-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Moved django.db.models.loading to django.apps.cache. | Aymeric Augustin | 2013-12-17 | 1 | -1/+1 |
| | | | | This commit doesn't contain any code changes; it's purely a refactoring. | ||||
* | Fix poor variable name (flake8 warning) | Andrew Godwin | 2013-12-05 | 1 | -2/+2 |
| | |||||
* | Migration VCS conflict detection and --merge for ↵ | Andrew Godwin | 2013-12-04 | 1 | -3/+94 |
| | | | | makemigrations | ||||
* | Add --dry-run option to makemigrations | Andrew Godwin | 2013-12-04 | 1 | -15/+17 |
| | |||||
* | Fixed #21280 -- Don't generate empty migration files | Javed Khan | 2013-10-17 | 1 | -1/+2 |
| | |||||
* | Fixed #20977 -- Fixed writing migrations to disk on Python 3 | Markus Holtermann | 2013-09-06 | 1 | -6/+8 |
| | |||||
* | Only create the migration directory once per app | Andrew Godwin | 2013-08-21 | 1 | -5/+9 |
| | |||||
* | Change autodetector changes API to be just one method | Andrew Godwin | 2013-08-21 | 1 | -4/+1 |
| | |||||
* | Use DEFAULT_DB_ALIAS | Andrew Godwin | 2013-08-12 | 1 | -2/+2 |
| | |||||
* | Add clarifying comment | Andrew Godwin | 2013-08-10 | 1 | -1/+2 |
| | |||||
* | Print all bad apps passed to makemigrations, not just ↵ | Andrew Godwin | 2013-08-10 | 1 | -2/+6 |
| | | | | the first one. | ||||
* | Remove other color_style override | Andrew Godwin | 2013-08-09 | 1 | -2/+0 |
| | |||||
* | Rename makemigration to makemigrations | Andrew Godwin | 2013-06-20 | 1 | -0/+80 |