from django.contrib.auth.decorators import login_required @login_required def edit_user_profile(request):