Hi.

I have a simple model which have few m2m relations.

Now, I enabled option in admin panel to duplicate model so, "Save as new" 
option.

It saves my model as a new one, no problem  with that.

But I want to duplicate m2m relations I have for original model, so new 
model will have new m2m relations inserted.

I don't need the new model object to refer the same m2m as original one, 
because when I "save as new" I change some data

and I need new entries for this m2m relations.


Can someone guide me how can i achieve this and where to look for it.


Thx.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/bd459705-6c0d-4711-ad61-708a15a55479%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to