Django: Field Error Unknown fields -


i installed os x lion, had reinstall python2.7. in doing upgraded django 1.3 1.2.3. when try , runserver, odd field error i'm having tough time deciphering.

fielderror @ / unknown field(s) (a, m, s, e, g) specified note 

here model & form:

class note(models.model):     pub_date = models.datetimefield(default=datetime.now,          auto_now_add=true, db_index=true)     user = models.foreignkey(user, null=true, blank=true, related_name="writers")     = models.foreignkey(user, null=true, blank=true, related_name="tost")     message = models.charfield(default='', max_length=140)     active = models.booleanfield(default=true)  class noteform(forms.modelform):     class meta:         model = note         fields = ('message')      message = forms.charfield(         label=_("sign guestbook"),         widget=forms.textarea,         required=true) 

try

    fields = ('message',) 

to create tuple 1 element.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -