1👍
it seems like you should write:
form = TransactionForm(request=request, instance=transaction)
instead of :
form = TransactionForm(request.POST, instance=transaction)
Source:stackexchange.com
1👍
it seems like you should write:
form = TransactionForm(request=request, instance=transaction)
instead of :
form = TransactionForm(request.POST, instance=transaction)