Exemple #1
0
def activity(request):
    p = Profiles()
    if request.method == 'GET':
        return p.view_activity(request)
Exemple #2
0
def profile(request):
    prof = Profiles()
    if request.method == 'GET':
        return prof.view_profile(request)
    elif request.method == 'POST':
        return prof.update_profile(request)
Exemple #3
0
def explore(request):
    p = Profiles()
    if request.method == 'GET':
        return p.view_userinfo(request)