diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README-bgstack15.md | 6 | ||||
-rw-r--r-- | manage.py | 4 | ||||
-rw-r--r-- | pastebin.py | 2 | ||||
-rw-r--r-- | requirements.txt | 4 |
5 files changed, 11 insertions, 6 deletions
@@ -9,3 +9,4 @@ dist env pastebin_uwsgi.ini config.cfg +.*.swp diff --git a/README-bgstack15.md b/README-bgstack15.md new file mode 100644 index 0000000..398d629 --- /dev/null +++ b/README-bgstack15.md @@ -0,0 +1,6 @@ +# Alternatives + +## Unresearched +https://github.com/yasoob/logit-bin +https://github.com/AWilliams17/PasteMate +https://github.com/bsamadi/flask-pastebin @@ -1,5 +1,5 @@ -from flask.ext.script import Manager, Server -from flask.ext.script.commands import Clean +from flask_script import Manager, Server +from flask_script.commands import Clean from pastebin import app, db manager = Manager(app) diff --git a/pastebin.py b/pastebin.py index 4d4309d..c2ed89d 100644 --- a/pastebin.py +++ b/pastebin.py @@ -2,7 +2,7 @@ from datetime import datetime from itsdangerous import Signer from flask import (Flask, request, url_for, redirect, g, render_template, session, abort) -from flask.ext.sqlalchemy import SQLAlchemy +from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) diff --git a/requirements.txt b/requirements.txt index 0f59a86..b1b3d3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,4 @@ -Flask -Flask-OAuth +Flask<2.0.0 Flask-SQLAlchemy Flask-Script -juggernaut PyMySQL |