No module named 'forms' Django
If you didn't change the default location of views.py
, then it's likely to be in your application folder. Try something like from myapp.forms import MyRegistrationForm
where myapp
is the name of your application
if thats an app module, change your 6th line:
from forms import MyRegistrationForm
to:
from .forms import MyRegistrationForm
(just add a dot before forms)