from . forms import UserEditForm
def edit(request):
if request.method == 'POST':
user_form = UserEditForm(instance=request.user, data=request.POST)
.........
def edit(request):
if request.method == 'POST':
user_form = UserEditForm(instance=request.user, data=request.POST)
.........
def foo(a, b): print(a, b) foo(b=4, a=7)