I created a form in forms.py with this code:

===========================
from django import forms
from django.forms import widgets
from django.contrib.localflavor.us import *
import datetime

class InquiryForm(forms.Form):
===========================

Exception Value:

'module' object has no attribute 'Form'

Exception Location:   /path/to/my/project/inquiry/forms.py in
<module>, line 6

I tried importing in the shell and I got this output. So it seems to
import the file:

===========================
In [1]: from django import forms
In [2]: forms.Form
Out[2]: <class 'django.forms.forms.Form'>
===========================

I'm stumped.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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.

Reply via email to