nyaa/nyaa/views
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
..
__init__.py Apply isort & flake8 (#312) 2017-07-28 20:01:19 +03:00
account.py Prepare for app factory [1 of 2] (#315) 2017-07-30 20:35:16 +03:00
admin.py Prepare for app factory [1 of 2] (#315) 2017-07-30 20:35:16 +03:00
main.py Move /view/<int:torrent_id> route into 'torrents' blueprint 2017-07-27 14:14:00 +03:00
site.py Move static routes into a blueprint 2017-07-27 14:14:00 +03:00
torrents.py Prepare for app factory [1 of 2] (#315) 2017-07-30 20:35:16 +03:00
users.py Prepare for app factory [1 of 2] (#315) 2017-07-30 20:35:16 +03:00