Re: Newforms proxy serialization problem

2007-11-03 Thread andrew gleave
Thanks Karen, I'll try that now. On Nov 3, 2:29 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 11/3/07, andrew gleave <[EMAIL PROTECTED]> wrote: > > > > > I've added some sample code which illustrates the problem. Still > > can'

Re: Newforms proxy serialization problem

2007-11-03 Thread andrew gleave
sender = forms.EmailField() cc_myself = forms.BooleanField(required=False) form = ContactForm({'subject': '', 'sender': 'invalid_address'}) form.is_valid() json = simplejson.dumps(form.errors) #this should work On Nov 1, 9:14 pm, andrew gleave <[

Newforms proxy serialization problem

2007-11-01 Thread andrew gleave
Hi everyone, I'm posting this here as every ticket I try to submit fails with a "500 Internal Server Error (Submission rejected as potential spam" message. After or around r6625 a bug has been introduced whereby when a newforms error dict is serialized with any serializer (I've tried simplejson a