1
0
mirror of https://github.com/django/django.git synced 2025-04-19 14:54:37 +00:00
Moayad Mardini a59870e217 [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
2014-05-24 09:56:43 -04:00
..
2014-05-08 21:49:09 -07:00
2013-05-30 17:56:53 +01:00
2014-04-30 18:35:40 -04:00