• Moayad Mardini's avatar
    Fixed #22676 -- makemigrations --dry-run should not ask for defaults · 63fc91b3
    Moayad Mardini yazdı
    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.
    63fc91b3
__init__.py 0 Bytes