Kfir Hadas
|
0181d6cb33
|
Prepare for app factory [1 of 2] (#315)
* Move db, assets, debug toolbar and fix_paginate into nyaa.extensions
* Change all `from nyaa import db` imports to `from nyaa.extensions import db`
* Move `nyaa.torrents.create_magnet_from_es_info` context processor into template-utils blueprint
* Fix tools (wrap in `with app.app_context():` where needed)
|
2017-07-30 20:35:16 +03:00 |
|
TheAMM
|
8fecc08d19
|
Keep it short, keep it simple
Keep it not retarded
|
2017-05-28 02:47:47 +03:00 |
|
TheAMM
|
79dae38f37
|
Patch db_migrate.py to always use the 'db' command
This means you can (have to) use the Flask-Migrate commands directly:
"./db_migrate.py stamp head" etc instead of "./db_migrate.py db stamp head"
|
2017-05-27 23:19:38 +03:00 |
|
TheAMM
|
eac41d561a
|
Fix db_migrate.py shebang for venvs
Allows one to call it using ./db_migrate.py without errors
|
2017-05-27 18:14:43 +03:00 |
|
nyaadev
|
152e547ac5
|
Add flask-Migrate + alembic for automated database migrations.
Update some dependencies to their latest version.
Make executable scripts executable (chmod +x).
|
2017-05-21 17:47:16 +02:00 |
|