Re: Good example of settings_changed signal usage

2020-07-15 Thread Adam Johnson
I'd suggest one of the examples from within Django itself - several of them clear relevant @lru_caches. On Wed, 15 Jul 2020 at 14:22, '1337 Shadow Hacker' via Django developers (Contributions to Django itself) wrote: > disconnect/reconnect signals maybe ? > > -- > You received this message becau

Re: Good example of settings_changed signal usage

2020-07-15 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
disconnect/reconnect signals maybe ? -- 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-developers+unsubscr...@googleg

Good example of settings_changed signal usage

2020-07-15 Thread Caio Ariede
Hello folks, I want to add a good example of usage for the settings_changed signal to the documentation: https://docs.djangoproject.com/en/dev/ref/signals/#setting-changed I was looking around the web and it seems there is some confusion around its proper use, so I’d like to add a good example