[Fixed]-Change existing database entry from a form

1👍

Keep in mind that you need to import a class to be able to use it.

In this case, you need to use PaymentForm from forms.py in your views.py. So you need to do the import:

# views.py
from somewhere.forms import PaymentForm

Now, you can use PaymentForm in views.py

👤Gocht

Leave a comment