flaskr.py 646 B

12345678910111213141516171819
  1. """
  2. Simple flask thing
  3. """
  4. from app import app
  5. from app.modules.static import Static
  6. from app.modules.backend import Backend
  7. from app.modules.auth import Auth
  8. from app.modules.backend.modules.page import Backend_Page
  9. from app.modules.backend.modules.file import Backend_File
  10. from app.modules.backend.modules.user import Backend_User
  11. app.register_blueprint(Auth)
  12. app.register_blueprint(Static)
  13. app.register_blueprint(Backend, url_prefix='/backend')
  14. app.register_blueprint(Backend_Page, url_prefix='/backend/page')
  15. app.register_blueprint(Backend_File, url_prefix='/backend/file')
  16. app.register_blueprint(Backend_User, url_prefix='/backend/user')