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')
def admin_property(): return ViewProperty.admin()