예제 #1
0
파일: app.py 프로젝트: alexw1118/TwoDays
def manage_property_page():
    if len(userA) != 0:
        username = userA[0]
        user = Login.user_detail(username)
        property_list = ViewProperty.admin()
        return render_template('manageProperty.html', user=user, propertylist=property_list)
    else:
        return render_template('login.html')
예제 #2
0
파일: app.py 프로젝트: alexw1118/TwoDays
def admin_property():
    return ViewProperty.admin()