Example #1
0
def activity(request):
    p = Profiles()
    if request.method == 'GET':
        return p.view_activity(request)
Example #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)
Example #3
0
def explore(request):
    p = Profiles()
    if request.method == 'GET':
        return p.view_userinfo(request)