Finally - someone pointing me to more than just the documentation.
Thank you!

I'll give that a shot and see where it takes me - along with
memorizing the documentation. I really appreciate you taking the time
to respond to my question. Django is just awesome. I fell in love with
Rails having done .NET and classic ASP for many years, but I think
Django is even better than Rails. I haven't written Python in a
loooong time, which is why I'm struggling a bit.

Again, my thanks!
Brandon

On May 15, 5:00 pm, Brian Rosner <[EMAIL PROTECTED]> wrote:
> > I would highly recommend you read the newforms documentation [1] if you 
> > have never used newforms before.
>
> Opps, forgot the linkhttp://www.djangoproject.com/documentation/newforms/
> and while I am here check 
> outhttp://www.djangoproject.com/documentation/modelforms/
> too.
>
> >  def clean_name(self):
> >      value = self.cleaned_data["name"]
> >      if name == "Brian":
> >          raise forms.ValidationError, u"You are not allowed to be named 
> > Brian."
> >      return value
>
> Oh, and if name == "Brian" should clearly be if value == "Brian"
>
> Brian Rosnerhttp://oebfare.com
--~--~---------~--~----~------------~-------~--~----~
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