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 value to be the list of primary keys. Is there any way to speed up saving this form? It often times out due to it taking so long to save the M2M field ( or at least this is what I believe is causing the issue because even the shell crashed when I tried to simply create they object by hand, the shell crashed while trying to set the M2M field).
-- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0ff46b7e-fd70-4822-95c0-25e008215e16%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.