Hi Matthew,

Unfortunately is not what I'm looking for. Actually I build something 
similar in the past.


In dynamic inlineformset I just clone and/or remove some DOM elements and  
update 
management attributes and Django do everything behind.


In my case I have a ManyToMany to a self ForeignKey. 


By default Django give me all Categories names in the ProductForm, without 
telling me the  relation parent-children in the Categories(ForeignKey to 
itself).


Also it uses just a Select html element with multiple options with all 
values available. I can’t just clone/remove DOM elements.


I need to get the Categories parent-children relations in the widget (or 
just parent and use Ajax).


Then from multiple Select elements that Icreate I need to give Django data 
like it was just one Select with multiple options(like is default).





-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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 https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/edcf8a19-98f9-4d06-8b97-421ee4d218de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to