最新 最热

flask 邮件发送页面(flask 32)

{% extends 'base.html' %} {% from 'macros.html' import form_field %}

2019-08-13
0

flask 数据库迁移(flask 29)

app=Flask(name) db=SQLAlchemy(app) migrate=Migrate(app,db)

2019-08-13
0

flask 数据库关系(flask 28)

class Writer(db.Model): books=db.relationship('Book',back_populates='writer') class Book(db.Model): writer_id=db.Column(db.Integer,db.ForeignKey('writer.id')...

2019-08-13
0

flask 使用sendgrid发送邮件(flask 33)

import sendgrid from sendgrid.helpers.mail import Email as SGEmail, Content, Mail as SGMail from flask_mail import Mail, Message from flask_wtf import FlaskF...

2019-08-13
1

flask 数据库进阶(flask 30)

级联: class Witer(db.Model): books=db.relationship('writer',cascade='save-update,merge,delete')

2019-08-13
0

flask 邮件发送配置(flask 31)

from flask import Flask import os from flask_mail import Mail, Message

2019-08-13
1

flask ajax回调(flask 12)

jquery.ajax()函数参数: url: type:GET data datatype complete:请求完成时回调函数 success:请求成功 error:请求失败

2019-08-13
0

flask reponse对象(flask 10)

from flask import Flask,make_response,json

2019-08-13
0

flask click初始化数据库(flask 26)

import click from flask_sqlalchemy import SQLAlchemy

2019-08-13
1

flask 表单元素(flask 18)

WTForms: BooleanField : checkbox DateField: DateTimeField: FileField 文件上传 FloatField IntegerField RadioField :radio SelectField SelectMultipleField ...

2019-08-13
0