Re: Model.clean() ValidationError

2011-03-15 Thread Ion Ray Studios
On 15/03/11 14:56, Tom Evans wrote: On Tue, Mar 15, 2011 at 2:36 PM, Ben Dembroski wrote: Hi Tom, Thanks for your reply. (You're right, my example was lousy). I did in fact try what you suggested earlier on, and got the the following error: AttributeError at /people/add/ 'ValidationError' o

Re: Model.clean() ValidationError

2011-03-15 Thread Ion Ray Studios
On 15/03/11 14:42, Daniel Roseman wrote: On Tuesday, March 15, 2011 2:36:45 PM UTC, Ben Dembroski wrote: Hi Tom, Thanks for your reply. (You're right, my example was lousy). I did in fact try what you suggested earlier on, and got the the following error: AttributeError a

Re: Model.clean() ValidationError

2011-03-15 Thread Tom Evans
On Tue, Mar 15, 2011 at 2:36 PM, Ben Dembroski wrote: > Hi Tom, > > Thanks for your reply. (You're right, my example was lousy). > > I did in fact try what you suggested earlier on, and got the the > following error: > > AttributeError at /people/add/ > > 'ValidationError' object has no attribute

Re: Model.clean() ValidationError

2011-03-15 Thread Ben Dembroski
On Mar 15, 2:36 pm, Ben Dembroski wrote: > On Mar 15, 2:22 pm, Tom Evans wrote: > > > > > On Tue, Mar 15, 2011 at 2:14 PM, Ben Dembroski > > wrote: > > > Hi all, > > > > I'm trying to pass a ValidationError as a string to a template, but I > > > can't seem to determine where to find the 'spec

Re: Model.clean() ValidationError

2011-03-15 Thread Daniel Roseman
On Tuesday, March 15, 2011 2:36:45 PM UTC, Ben Dembroski wrote: > > > Hi Tom, > > Thanks for your reply. (You're right, my example was lousy). > > I did in fact try what you suggested earlier on, and got the the > following error: > > AttributeError at /people/add/ > > 'ValidationError' object

Re: Model.clean() ValidationError

2011-03-15 Thread Ben Dembroski
On Mar 15, 2:22 pm, Tom Evans wrote: > On Tue, Mar 15, 2011 at 2:14 PM, Ben Dembroski wrote: > > Hi all, > > > I'm trying to pass a ValidationError as a string to a template, but I > > can't seem to determine where to find the 'special key' that is > > referred to in the documentation here: > > >

Re: Model.clean() ValidationError

2011-03-15 Thread Tom Evans
On Tue, Mar 15, 2011 at 2:14 PM, Ben Dembroski wrote: > Hi all, > > I'm trying to pass a ValidationError as a string to a template, but I > can't seem to determine where to find the 'special key' that is > referred to in the documentation here: > > http://docs.djangoproject.com/en/dev/ref/models/i

Model.clean() ValidationError

2011-03-15 Thread Ben Dembroski
Hi all, I'm trying to pass a ValidationError as a string to a template, but I can't seem to determine where to find the 'special key' that is referred to in the documentation here: http://docs.djangoproject.com/en/dev/ref/models/instances/ {quote} Any ValidationError raised by Model.clean() will