一.动态调用插件解析 1.目录结构 1.base_module代码解析: def syntax_parser(self,section_name,mod_name,mod_data): print("-going to parser state data:",section_name,mod_name) for state_item in mod_data: print("\t",state_item) for key,val in state_item.items…
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models class UserType(models.Model): caption = models.CharField(max_length=32) class User(models.Model): name = models.CharField(max_length=32) age = models.Integer…