__init__.py 235 B

1234567
  1. from apps.account import user
  2. from apps.account import role
  3. def register_blueprint(app):
  4. app.register_blueprint(user.blueprint, url_prefix='/account/users')
  5. app.register_blueprint(role.blueprint, url_prefix='/account/roles')