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.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to