I'm just learning Django myself.  But, it sounds like you didn't inherit
from Form.forms (or is it Forms.form??).

On Tue, Jul 20, 2010 at 1:14 PM, commonzenpython
<commonzenpyt...@gmail.com>wrote:

> VolunteerForm is the name of my form class in forms.py, i put the code
> you gave me :
>
> if request.POST:
>        form = VolunteerForm(request.POST)
>         if form.is_valid():
>            fm = form.save()
>
> in my views.py
>
> when i visit the url, i get the form , but when i submit information,
> i get a 500 error, and django sends me a message that says
>  AttributeError: 'VolunteerForm' object has no attribute 'save'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to