예제 #1
0
def dashboard():


    admin.add_view(LoginView(User, db.session))

    admin.add_view(LoginView(Message, db.session))

    admin.add_view(FindingChildrenView(Findingchildren, db.session))

    admin.add_view(MissingChildrenView(Missingchildren, db.session))
    admin.add_view(FChildrenFaceView(Fchildrenface, db.session))
    admin.add_view(ChildrenFaceView(Childrenface, db.session))
예제 #2
0
def dashboard():

    admin.add_view(UserView(User, db.session))
    admin.add_view(GzhView(Gzh, db.session))
예제 #3
0
def dashboard():

    admin.add_view(UserView(User, db.session))
    admin.add_view(PostView(Post, db.session))
    admin.add_view(CarouselView(Carousel, db.session))
    admin.add_view(ModelView(Message, db.session))