Re: Saving a large queryset to a M2M field

2014-02-12 Thread Erik Cederstrand
Den 12/02/2014 kl. 19.52 skrev Lucas Roesler : > Hi, I am currently having trouble saving a large queryset to a M2M field > (approx. 100k objects). The queryset is being generated by the admin list > view and I am passing it to the add view by storing the list of primary keys > in

Saving a large queryset to a M2M field

2014-02-12 Thread Lucas Roesler
Hi, I am currently having trouble saving a large queryset to a M2M field (approx. 100k objects). The queryset is being generated by the admin list view and I am passing it to the add view by storing the list of primary keys in the session. In the add view I set the M2M form field initial