def init(): from packages.auth.urls import auth from packages.auth.commands import (AddUser, ChangeExpireUser, ChangeUserPassword) manager.add_command('add_user', AddUser) manager.add_command('change_expire_user', ChangeExpireUser) manager.add_command('change_password', ChangeUserPassword) app.register_blueprint(auth)
def init(): from packages.auth.views import auth from packages.auth.commands import AddUser app.register_blueprint(auth) manager.add_command('add_user', AddUser) from packages.books.views import books from packages.books.commands import UploadBooks app.register_blueprint(books) manager.add_command('upload_books', UploadBooks)
def init(): from packages.auth.views import auth from packages.auth.commands import AddUser app.register_blueprint(auth) manager.add_command('add_user', AddUser) from packages.names.views import names from packages.names.commands import AddNames app.register_blueprint(names) manager.add_command('add_names', AddNames)