模型函数,新建表
from django.db import models
# Create your models here.
class Empoyee(models.Model):
name = models.CharField(max_length=16)
age = models.IntegerField()
salary
模型函数,新建表
from django.db import models
# Create your models here.
class Empoyee(models.Model):
name = models.CharField(max_length=16)
age = models.IntegerField()
salary