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
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
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
= 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
4 matches
Mail list logo