from account.utils import user_display


def profile(request):
    result = {}
    if request.user.is_authenticated():
        profile = request.user.get_profile()
        result.update({"PROFILE": profile, "USERNAME": user_display(profile)})
    return result

1da263982b3b96d57242936f5867e3df3b77d710
<mask token>

<mask token>


def profile(request):
    result = {}
    if request.user.is_authenticated():
        profile = request.user.get_profile()
        result.update({'PROFILE': profile, 'USERNAME': user_display(profile)})
    return result

from account.utils import user_display


def profile(request):
    result = {}
    if request.user.is_authenticated():
        profile = request.user.get_profile()
        result.update({'PROFILE': profile, 'USERNAME': user_display(profile)})
    return result

from account.utils import user_display


def profile(request):
    result = {}
    if request.user.is_authenticated():
        profile = request.user.get_profile()
        result.update({"PROFILE": profile, "USERNAME": user_display(profile)})
    return result
