|
|
@ -1,5 +1,4 @@
|
|
|
|
import flask
|
|
|
|
import flask
|
|
|
|
import flask_cors
|
|
|
|
|
|
|
|
import flask_login
|
|
|
|
import flask_login
|
|
|
|
import flask_restful
|
|
|
|
import flask_restful
|
|
|
|
import flask_restful.fields
|
|
|
|
import flask_restful.fields
|
|
|
@ -21,8 +20,6 @@ login_manager.init_app(app)
|
|
|
|
|
|
|
|
|
|
|
|
api = flask_restful.Api(app)
|
|
|
|
api = flask_restful.Api(app)
|
|
|
|
|
|
|
|
|
|
|
|
flask_cors.CORS(app)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
quote_fields = {
|
|
|
|
quote_fields = {
|
|
|
|
'id': flask_restful.fields.Integer(),
|
|
|
|
'id': flask_restful.fields.Integer(),
|