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