Programmatically sync the db in Django

前端 未结 2 449
半阙折子戏
半阙折子戏 2021-02-07 21:10

I\'m trying to sync my db from a view, something like this:

from django import http
from django.core import management

def syncdb(request):
    management.call_         


        
2条回答
提交回复
热议问题