Re: Form errors in ListFormsetView created by adding methods to a ListView.

2021-06-11 Thread VISHESH MANGLA
Sorry , I should have posted the template well, the error is, hmm, suppose you are at page 1 , now you clicked next and you got to page 2 and the `post` method is hit. It will get page number as 2. But for formset , the initial data will have to be compared with page "1" s data not "2". I

Re: Form errors in ListFormsetView created by adding methods to a ListView.

2021-06-11 Thread Lalit Suthar
> > possibly you are requesting with the same pan id again > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view

Form errors in ListFormsetView created by adding methods to a ListView.

2021-06-11 Thread VISHESH MANGLA
Hello, I am consistently getting this bizarre error and formset_invalid is getting triggered. I just tried to make a generic ListFormSetView. [11/Jun/2021 12:48:24] "GET /adminuser/print-report/?page=1 HTTP/1.1" 200 5244 [{'PAN_ID': ['User with this Pan ID already exists.']}] [11/Jun/2021 12:5