[Answered ]-Certain field in django modelform not updating

2👍

You need to call the save method of the instance new_five after you have modified it.

if form.is_valid():
    new_five = form.save(commit=False)
    new_five.edited = edited
    new_five.save()

Currently, you are calling the form’s save method twice, which won’t work.

Leave a comment