1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00
django/tests/migrations/test_migrations_no_default
Moayad Mardini 63fc91b3ca Fixed #22676 -- makemigrations --dry-run should not ask 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.
2014-05-24 09:56:18 -04:00
..
__init__.py Fixed #22676 -- makemigrations --dry-run should not ask for defaults 2014-05-24 09:56:18 -04:00
0001_initial.py Fixed #22676 -- makemigrations --dry-run should not ask for defaults 2014-05-24 09:56:18 -04:00