def handle(self, *args, **options): Client.objects.all().delete() print('Load client') c = Client() c.name = 'wezom' c.secret = '123' c.save()