运维Python面试题
本章内容
1 | osodjfoskjdofjsdjfjsdf |
123 | sdfdfadf |
1
2
3
4
5
6
|
from django.db import models class userinfo(models.Model): name = models.CharField(max_length = 30 ) email = models.EmailField() memo = models.TextField() |
7
|
sdfsdf |
s
|
|
dd
|
|
d
|
|
1、Django请求的声明周期
一个http请求发送过来后 ---> 视图函数(获取模板+数据 = 渲染) ---> 字符串返回给用户
no pain no gain