导出时加参数python manage.py dumpdata --exclude=contenttypes --exclude=auth.Permission > data.json 参考:https://bbs.csdn.net/topics/396106768