Re: raise error for form attribute

2017-05-11 Thread Naveen Yadav
On Wednesday, 10 May 2017 16:48:00 UTC+5:30, Naveen Yadav wrote: > > Hi, > > I am working on my first issue > . Part of solution seems > like > 1. checking the concerned fields > 2. raising the error if required > > > After going through the

Re: raise error for form attribute

2017-05-10 Thread Adam Johnson
clean() and non_field_error both seem like the wrong place since they happen after the first rendering of the form. You should be able to raise it on initialization, no? On 10 May 2017 at 10:19, Naveen Yadav wrote: > Hi, > > I am working on my first issue >

raise error for form attribute

2017-05-10 Thread Naveen Yadav
Hi, I am working on my first issue . Part of solution seems like 1. checking the concerned fields 2. raising the error if required After going through the source code, I realized there two ways to resolve the issue, first one seems raise error at