yes, i did inherit from forms.Form , but no, i dont have a model for my data , i only have a class in forms.py that displays three charfields for the user, and i use it throuh my views.py like this :
from django.shortcuts import render_to_response from ash.forms import VolunteerForm from django.http import HttpResponseRedirect def volunteer(request): if request.method == 'POST': form = VolunteerForm(request.POST) if form.is_valid(): fm = form.save() return HttpResponseRedirect('http://ashtangayogavideo.com/ ash/polls') else: form = VolunteerForm() return render_to_response('contact_form.html', {'form': form}) and this is my forms.py : from django import forms class VolunteerForm(forms.Form): name = forms.CharField() last = forms.CharField() company = forms.CharField() -- 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.