Changes between Initial Version and Version 6 of Ticket #34052


Ignore:
Timestamp:
Sep 27, 2022, 6:51:08 AM (2 years ago)
Author:
Jacob Walls
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34052

    • Property Triage Stage UnreviewedAccepted
    • Property Owner changed from nobody to JunKi Yoon
    • Property Status newassigned
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Needs tests set
  • Ticket #34052 – Description

    initial v6  
    1010  No migrations to apply.
    1111}}}
    12 
    13 I think the patch is as simple as:
    14 {{{
    15 diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py
    16 index d98072c66e..f1b8a21c11 100644
    17 --- a/django/core/management/commands/migrate.py
    18 +++ b/django/core/management/commands/migrate.py
    19 @@ -237,7 +237,7 @@ class Command(BaseCommand):
    20                      self.stdout.write("  No migrations to prune.")
    21  
    22          plan = executor.migration_plan(targets)
    23 -        exit_dry = plan and options["check_unapplied"]
    24 +        exit_dry = options["check_unapplied"]
    25  
    26          if options["plan"]:
    27              self.stdout.write("Planned operations:", self.style.MIGRATE_LABEL)
    28 }}}
Back to Top