How to customize AdminWidget FilteredSelectMultiple?

2019-07-22 Thread Mei B
I'm trying to use the admin widget FilteredSelectMultiple, I can get it to render on my page, but I want to customize it a bit more. I want to change the labels from available/chosen, change the size, and reorder the boxes (have chosen be on the left) How do I go about doing that? -- You recei

Re: How to customize AdminWidget FilteredSelectMultiple?

2019-07-23 Thread Charlotte Wood
Can you post your code? On Mon, Jul 22, 2019, 7:20 PM Mei B wrote: > I'm trying to use the admin widget FilteredSelectMultiple, I can get it to > render on my page, but I want to customize it a bit more. > > I want to change the labels from available/chosen, change the size, and > reorder the bo

Re: How to customize AdminWidget FilteredSelectMultiple?

2019-07-23 Thread Mei B
I figured out how to customize what I want by editing SelectFilter2.js, located in /admin/js/SelectFilter2.js My question now is, how do I get django to look at this new SelectFilter2.js instead of the original? I thought I would pop it in my_app/static/admin/js/ but that doesn't seem to be work