--
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 django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/7f09013b-02db-40bf-928f-83a737dec069n%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/47774b6a-a783-47cf-8229-299f891c1b32n%40googlegroups.com.
Quite likely not, but such a niche feature isn’t worth the extra API surface area, I’d likely think.Yes, not pretty, though, right?--Il giorno martedì 8 agosto 2023 alle 07:33:12 UTC+2 Adam Johnson ha scritto:You should be able to disable the button by creating an empty admin/color_theme_toggle.html template in your project.On Mon, Aug 7, 2023 at 10:28 PM Niccolò Mineo <niccol...@gmail.com> wrote:* I haven't found a convenient way, that is.Il giorno lunedì 7 agosto 2023 alle 23:26:11 UTC+2 Niccolò Mineo ha scritto:There is a specific situation in which I wouldn't want the user to be able to toggle between dark and light mode for the admin theme, and that is if I heavily customized it. I haven't found a way to disable that specific toggle, so I suggest that an AdminSite.ui_toggle (or the like) boolean be added. What do you think?--
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 django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/7f09013b-02db-40bf-928f-83a737dec069n%40googlegroups.com.
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 django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/47774b6a-a783-47cf-8229-299f891c1b32n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/7b0ae2a9-c99d-4a0e-b3cf-404b4aa7d02dn%40googlegroups.com.