Beispiel #1
0
def movie_listuser():
    return query.querydatabase(
        "MOVIES",
        "listforuser.html") + "<br><br><a href='/logout'>Logout</a><br>"
Beispiel #2
0
def movie_listuser(uid):
    session["uid"] = uid
    return query.querydatabase(
        "MOVIES", "listforuser.html"
    ) + "<br><br><a href='http://127.0.0.1:5001/login'>Logout</a><br>"
Beispiel #3
0
def movie_list():
    return query.querydatabase(
        "MOVIES", "movietable.html"
    ) + "<br><a href='/addmovie' >Add movie</a><br>" + "<br><a href='/logout'>Logout</a><br>"
Beispiel #4
0
def users_list():
    return query.querydatabase("users", "usertable.html")