diff options
| author | Moayad Mardini <moayad.m@gmail.com> | 2014-05-22 12:42:46 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-05-24 09:56:43 -0400 |
| commit | a59870e21784166725f7cb3230becef50553ee3a (patch) | |
| tree | 7eef1932c5bbe1997f43b74c32f8c88d52a91a00 /scripts | |
| parent | be733bf672eebb7d03061a293a2b0b03c727ab44 (diff) | |
[1.7.x] 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.
Backport of ee14961a2a from master
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
