Problems with running call_command() in Django

前端 未结 0 387
栀梦
栀梦 2020-12-04 03:53

I am trying to test the call_command to invoke migration.

test_command.py:

from django.core.management import call_command
import os

os.environ.setdef         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题