Hi Asim :) Here is the solution step by step:
1) Go to Lib\site-packages\django\contrib\admin\media\js directory and copy the following js files to js folder jquery-1.4.2 from jquery website dynamic_inlines_with_sort.js from http://www.djangosnippets.org/snippets/1489/ and create the following css under css folder dyynamic_inlines_with_sort.css: .inline-group .tabular tr.has_original td { padding-top:0.5em; } .inline-group .tabular tr.has_original td.original p { display:none; } 2)Add following media class to your inline admin model class Media: js = ['/media/js/jquery-1.4.2.js', '/media/js/dynamic_inlines_with_sort.js',] css = { 'all' : ['/media/css/dynamic_inlines_with_sort.css'],} You will see a plus sign or add new row text below. I was able to duplicate text fields,dropdown lists successfully. On 8 Nisan, 13:46, Asim Yuksel <a.sinanyuk...@gmail.com> wrote: > How can I add dynamic inline fields? I want to use the extra=1 and I > want to have a plus sign which will add more dynamic fields so the > extra field will increase -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.