Skip to content

Commit

Permalink
fix: CMS check management command fixed [#7386]
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi committed Sep 12, 2022
1 parent 9858b77 commit cdcf260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/management/commands/subcommands/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.core.management.base import BaseCommand, CommandParser
from django.core.management.color import color_style, no_style

from cms.utils.compat import DJANGO_3_0, DJANGO_3_1, DJANGO_3_2
from cms.utils.compat import DJANGO_2_2


def add_builtin_arguments(parser):
Expand Down Expand Up @@ -36,7 +36,7 @@ def add_builtin_arguments(parser):
help="Don't colorize the command output.")
parser.add_argument('--force-color', action='store_true', dest='force_color', default=False,
help="Colorize the command output.")
if DJANGO_3_0 or DJANGO_3_1 or DJANGO_3_2:
if not DJANGO_2_2:
parser.add_argument('--skip-checks', action='store_true', dest='skip_checks', default=False,
help="Skip the checks.")

Expand Down

0 comments on commit cdcf260

Please sign in to comment.