File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
devserver/management/commands Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ def __init__(self):
9191 # `requires_system_checks`. If both options are present, an error is
9292 # raised. BaseCommand sets requires_system_checks in >= Django 1.7.
9393 if hasattr (self , 'requires_system_checks' ):
94- requires_system_checks = False
94+ self . requires_system_checks = False
9595 else :
96- requires_model_validation = False # Django < 1.7
96+ self . requires_model_validation = False # Django < 1.7
9797 super (Command , self ).__init__ ()
9898
9999 def add_arguments (self , parser ):
@@ -115,7 +115,7 @@ def run_from_argv(self, argv):
115115 args = cmd_options .pop ('args' , ())
116116 else :
117117 options , args = parser .parse_args (argv [2 :], options )
118- cmd_options = var (options )
118+ cmd_options = vars (options )
119119
120120 handle_default_options (options )
121121 self .execute (* args , ** options .__dict__ )
You can’t perform that action at this time.
0 commit comments