Hi All,

Im working on forms, going through this book: 
http://www.djangobook.com/en/1.0/chapter07/

I need to place a form class like this somewhere:

class ContactForm(forms.Form):
    topic = forms.ChoiceField(choices=TOPIC_CHOICES)
    message = forms.CharField(widget=forms.Textarea())
    sender = forms.EmailField(required=False)


I'm torn between models.py and views.py. And I read about a forms.py, but that 
is not a 'standard' framework file.

So, where do I put this? 

Thanx all!

Regards,

Gerard.

-- 
urls = { 'fun':  'www.zonderbroodje.nl',  'tech':  'www.gp-net.nl' }



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

Reply via email to