flask中出现:IntegrityError: (_mysql_exceptions.IntegrityError) (1062, "Duplicate entry
先上代码:#coding:utf-8fromflaskimportFlask,render_template,flash,redirect,url_forfromflask_sqlalchemyimportSQLAlchemyfromflask_wtfimportFlaskFormfromwtformsimportStringField,SubmitFieldfromwtforms.validat