That did it! That example was what I was looking for. The error
handling led me astray, it's all taken care of. Thanks a lot.
On Jul 17, 2:42 am, Karen Tracey wrote:
> On Fri, Jul 16, 2010 at 6:27 PM, Joel Klabo wrote:
> > I am using modelForm to make a form for my Brew model. The form shows
> >
On Fri, Jul 16, 2010 at 6:27 PM, Joel Klabo wrote:
> I am using modelForm to make a form for my Brew model. The form shows
> up and works fine. And saves it when I call save. But it does not
> catch the errors correctly. I set it up mostly based on this example:
>
> from django.core.validators im
I am using modelForm to make a form for my Brew model. The form shows
up and works fine. And saves it when I call save. But it does not
catch the errors correctly. I set it up mostly based on this example:
from django.core.validators import ValidationError, NON_FIELD_ERRORS
try:
article.full_c
3 matches
Mail list logo