updated links and gitignore
This commit is contained in:
parent
335eff4c77
commit
df06498733
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
__pycache__
|
__pycache__/
|
||||||
instance\users.db
|
instance/*.db
|
||||||
|
|||||||
Binary file not shown.
2
app.py
2
app.py
@ -5,7 +5,7 @@ from werkzeug.security import generate_password_hash, check_password_hash
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config['SECRET_KEY'] = 'your-secret-key-here'
|
app.config['SECRET_KEY'] = 'your-secret-key-here'
|
||||||
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////Users/leoan/Developer/Personal_Projects/web-login/instance/users.db'
|
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///instance/users.db'
|
||||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
||||||
|
|
||||||
db = SQLAlchemy(app)
|
db = SQLAlchemy(app)
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user