Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/i/o/ionyweb-0.3/ionyweb/administration/views/users.py   ionyweb(Download)
            userform = EditCurrentUser(request.user, request.POST)
 
            if userform.is_valid():
                userform.save(request.user)
                response = Response(status.HTTP_200_OK, {})
 
 
            if userform.is_valid() and passform.is_valid():
                userform.save(request.user)
                passform.save(request.user)

src/i/o/ionyweb-HEAD/ionyweb/administration/views/users.py   ionyweb(Download)
            userform = EditCurrentUser(request.user, request.POST)
 
            if userform.is_valid():
                userform.save(request.user)
                response = Response(status.HTTP_200_OK, {})
 
 
            if userform.is_valid() and passform.is_valid():
                userform.save(request.user)
                passform.save(request.user)