Massive code cleanup

- Avoid fighting import cycles using a factory function
- Collapse useless subpackages into simple modules
- Move flask plugins / infrastructure in own module
- Refactor how blueprints are used to localize information about
  URL routing to app factory
This commit is contained in:
Jonas Schäfer
2021-01-17 10:18:20 +01:00
parent e476d9b7c2
commit fa700bba07
16 changed files with 330 additions and 291 deletions

2
.envrc
View File

@@ -1,5 +1,5 @@
layout python3
export QUART_APP=snikket_web:app
export QUART_APP='snikket_web:create_app()'
export QUART_ENV=development
export SNIKKET_WEB_CONFIG="$(pwd)/.local/web_config.py"