Re: 'module' object has no attribute 'Form'

2011-02-07 Thread Shawn Milochik
The problem is your "star" import from localflavor, which contains a 'forms' module. Just import what you need from localflavor. Shawn -- 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@googlegrou

'module' object has no attribute 'Form'

2011-02-07 Thread shireknight
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' obj

Re: Error was: 'module' object has no attribute 'Form'

2008-11-30 Thread Malcolm Tredinnick
forms.CharField(max_length=100) > message = forms.CharField() > sender = forms.EmailField() > cc_myself = forms.BooleanField(required=False) > > but get this error everytime: > > ViewDoesNotExist at / > Tried main in module myapp.main.views. Error was: 'mo

Error was: 'module' object has no attribute 'Form'

2008-11-30 Thread Andrew Arrow
= forms.BooleanField(required=False) but get this error everytime: ViewDoesNotExist at / Tried main in module myapp.main.views. Error was: 'module' object has no attribute 'Form' any ideas? thanks --~--~-~--~~~---~--~~ You received this mes