__init__.py 253 B

123456
  1. def register_blueprint(app):
  2. from apps.schedule import job
  3. from apps.schedule import history
  4. app.register_blueprint(job.blueprint, url_prefix='/schedule/jobs')
  5. app.register_blueprint(history.blueprint, url_prefix='/schedule/histories')