On Dec 9, 9:12 pm, prem1er <[EMAIL PROTECTED]> wrote: > Still no luck. I have this line added to the top of views.py. > > from xxx.register.forms import ContactForm > > It can't seem to find forms 'No module named forms'. >
Sorry, I misread your original post. For some reason you have put your form in your models.py, so that's what you'll need to import - ie from whatever.register.models import ContactForm I would however recommend keeping your forms in a forms.py file, separate from your models. -- DR. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---