I am trying to follow one of the examples to make a simple project
tracking app.

I am befuddled with an error trying to build my form.    For one of my
fields I want a text area.

What am I doing wrong here?

Exception

<type 'exceptions.AttributeError'>: 'module' object has no attribute
'TextArea'
      args = ("'module' object has no attribute 'TextArea'",)
      message = "'module' object has no attribute 'TextArea'"


Here's the code...

class Project(db.Model):
  projectName = db.StringProperty(required=True)
  projectJustification = db.TextProperty(required=False)
  projectManager = db.UserProperty(required=False

class ProjectForm(djangoforms.ModelForm):
  justification=forms.CharField(widget=forms.TextArea)
  class Meta:
    model = Project

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to