随笔分类 -  django框架

django中瀑布流初探
摘要:img.html views models 阅读全文
posted @ 2019-10-14 11:36 帅的遭人砍see 阅读(115) 评论(0) 推荐(0)
发送不同ajax请求以及iframe
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head> <style> .btn{ display: inline-block; padding: 5px 10px; backg 阅读全文
posted @ 2019-09-10 14:20 帅的遭人砍see 阅读(227) 评论(0) 推荐(0)
发送不同ajax请求及iframe
摘要:html 阅读全文
posted @ 2019-09-03 09:30 帅的遭人砍see 阅读(327) 评论(0) 推荐(0)
admin
摘要:先在models中写from django.contrib import adminfrom app01 import models# Register your models here.admin.site.register(models.UserInfo)然后执行:python manage.p 阅读全文
posted @ 2019-08-21 11:14 帅的遭人砍see 阅读(244) 评论(0) 推荐(0)
Form中正则的扩展
摘要:https://www.cnblogs.com/wupeiqi/articles/6144178.html1. Form组件扩展: 1.简单扩展 利用Form组件自带的正则扩展: a. 方式一 from django.forms import Form from django.forms impor 阅读全文
posted @ 2019-08-13 20:36 帅的遭人砍see 阅读(163) 评论(0) 推荐(0)