Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread prem1er
w00t. Thanks. After a bunch more import statements I finally got it working. Thanks again!!! On Dec 9, 4:22 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > 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.re

Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread Daniel Roseman
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 fo

Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread prem1er
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'. On Dec 9, 3:45 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Dec 9, 8:43 pm, prem1er <[EMAIL PROTECTED]> wrote: > > > Thank you. Th

Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread Daniel Roseman
On Dec 9, 8:43 pm, prem1er <[EMAIL PROTECTED]> wrote: > Thank you. That cleared that up. Now getting the error. "global name > 'ContactForm' is not defined" in my 'views.py' file.  Any ideas? > Well, as with all Python code, if you define an object in one file and refer to it in another, you have

Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread prem1er
Thank you. That cleared that up. Now getting the error. "global name 'ContactForm' is not defined" in my 'views.py' file. Any ideas? On Dec 9, 3:35 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Dec 9, 8:23 pm, prem1er <[EMAIL PROTECTED]> wrote: > > > Trying to follow along with the Form Tut

Re: 'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread Daniel Roseman
On Dec 9, 8:23 pm, prem1er <[EMAIL PROTECTED]> wrote: > Trying to follow along with the Form Tutorial on the Django site and > I'm running into a problem.  I keep getting the error page 'module' > object has not attribute 'ContactForm', when I just simply copy and > pasted the code from the tutori

'module' object has no attribute 'ContactForm' (view does not exist)

2008-12-09 Thread prem1er
Trying to follow along with the Form Tutorial on the Django site and I'm running into a problem. I keep getting the error page 'module' object has not attribute 'ContactForm', when I just simply copy and pasted the code from the tutorial into my models.py. Here is my source. I feel like it has