aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-02-11 16:24:40 -0500
committerB. Stack <bgstack15@gmail.com>2022-02-11 16:24:40 -0500
commitde002f4b786f93b966fa495b44154fb1979949ee (patch)
tree63c62b7a615980ec5a4300b1a8cd5022e7c3f6e6
parentadd private paste (diff)
downloadstackbin-de002f4b786f93b966fa495b44154fb1979949ee.tar.gz
stackbin-de002f4b786f93b966fa495b44154fb1979949ee.tar.bz2
stackbin-de002f4b786f93b966fa495b44154fb1979949ee.zip
fixed deps which means flask 1
So the next step will be to make it work with flask 2 (current)
-rw-r--r--.gitignore1
-rw-r--r--README-bgstack15.md6
-rw-r--r--manage.py4
-rw-r--r--pastebin.py2
-rw-r--r--requirements.txt4
5 files changed, 11 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index c408181..abccb3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/manage.py b/manage.py
index ec02b06..c19b039 100644
--- a/manage.py
+++ b/manage.py
@@ -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
bgstack15