Renamed skip_validation into skip_checks as the former is now deprecated.
This commit is contained in:
parent
ec8a2e3b07
commit
c974b7bbe0
|
@ -352,7 +352,7 @@ class Command(BaseCommand):
|
|||
for app_label in app_labels:
|
||||
call_command(
|
||||
'loaddata', 'initial_data', verbosity=self.verbosity,
|
||||
database=connection.alias, skip_validation=True,
|
||||
database=connection.alias, skip_checks=True,
|
||||
app_label=app_label, hide_empty=True,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue