摘要:
vlan interface只是个虚拟接口,一般在支持802.1q的三层交换机 添加虚拟接口,并设置ip(前提是必须有vlan) int vlanif 10 ip address 192.168.10.254 24 int vlanif 20 ip address 192.168.20.254 24 阅读全文
摘要:
不考虑Django的admin的参数,直接写 字段设置: class UserInfo(models.Model): xx = models.CharField(max_length=32) #数字类 xx = models.IntegerField() xx = models.FloatField 阅读全文
摘要:
一、创建django项目mysite5,同时添加app01 1.1、app01/models.py ,创建需要的表及字段类型 from django.db import models # Create your models here. class UserInfo(models.Model): u 阅读全文