Cause:
You didn't import ContactForm basically form in your views.py file
but, you are referring the form in views.py
form = ContactForm()
Resolution:
you have to import form in views.py
my ContactForm is located in accounts/forms.py
You didn't import ContactForm basically form in your views.py file
but, you are referring the form in views.py
form = ContactForm()
Resolution:
you have to import form in views.py
from accounts.forms import *
my ContactForm is located in accounts/forms.py
No comments:
Post a Comment
Note: only a member of this blog may post a comment.