Changes between Initial Version and Version 1 of Ticket #15574, comment 30


Ignore:
Timestamp:
Sep 18, 2015, 10:57:33 AM (9 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15574, comment 30

    initial v1  
    33the problem with my previous snippet was that I was removing too much, I considered using a regex but that would be overkill.
    44in my case I'm removing everything so now I'm simply doing as below instead of a loop:
    5  request.POST['templatepage_set-TOTAL_FORMS'] = '0'
     5 `request.POST['templatepage_set-TOTAL_FORMS'] = '0'`
    66
    77in any case, is this fix in 1.6?
Back to Top