Подготовка новых моделей тестов
This commit is contained in:
@@ -27,7 +27,7 @@ class Command(CoreCommand):
|
||||
:params options: Дополнительные параметры
|
||||
"""
|
||||
|
||||
if self.is_debug_or_test():
|
||||
if self._is_debug_or_test():
|
||||
self._clear_database()
|
||||
else:
|
||||
self.stdout.write(self.style.ERROR("The rack_wipe_database command can only be executed in debug or test mode."))
|
||||
|
||||
Reference in New Issue
Block a user