DJANGO實現下拉框的二級聯動

環境:PYTHON2.7+DJANGO1.9 有數據表如下,就是想在每次下拉框選擇dnsname字段的時候,帶出對應的hostipaddr字段 實現如下 models.py from __future__ import unicode_literals from django.db import models class systeminfo(models.Model): id = m
相關文章
相關標籤/搜索