Tuesday, July 23, 2019

Re: How to customize AdminWidget FilteredSelectMultiple?

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 working.



On Monday, July 22, 2019 at 5:21:08 PM UTC-7, 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 boxes (have chosen be on the left) How do I go about doing that?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/703f10d8-6e0e-4901-a3d9-04e591fdcd10%40googlegroups.com.

No comments:

Post a Comment