I've always used `diffsettings` to print my settings for debugging purposes, and `diffsettings` combined with `| grep` to filter down to specific settings options. Was this option discussed in the IRC thread? https://docs.djangoproject.com/en/2.2/ref/django-admin/#diffsettings
Best, Ion On Thu, Jun 11, 2020 at 8:09 PM '1337 Shadow Hacker' via Django developers (Contributions to Django itself) <django-developers@googlegroups.com> wrote: > Hi all, > > So, just on #django IRC channel there was a user trying to help another > one, asking for some settings through ./manage.py shell etc ... A > discussion that went kind of like "Print out your settings" "How would I > print, I tried that, I'm in settings.py" "With ... print()" "but in the > shell, __file__ is not defined" and so on, and 20 minutes later the user > couldn't print his settings and left. > > TBH I'm pretty fine because the users I support are on projects where I > added djcli to the requirements, so I can always ask the to do the djcli > setting command to print out a setting. It's very useful useful to me, I > think Django should a command to dump runtime settings because that should > make the life easier of Django users trying to support newbies in their own > projects, where they don't have installed a custom command, it's pretty > cheap to make and maintain and should save quite some frustration from both > sides of the story. > > 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-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/X2HkH0yasxu2XVxBuVkbTfdSHctL7y3pW9seQ8CHFcVOpmsiyN80JlDYH2g5F6IfPvEdN4zyG6vuxj2HEMJaXUSErMUM5IT70iLvkxsrc7U%3D%40protonmail.com > <https://groups.google.com/d/msgid/django-developers/X2HkH0yasxu2XVxBuVkbTfdSHctL7y3pW9seQ8CHFcVOpmsiyN80JlDYH2g5F6IfPvEdN4zyG6vuxj2HEMJaXUSErMUM5IT70iLvkxsrc7U%3D%40protonmail.com?utm_medium=email&utm_source=footer> > . > -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAH26QPp5b-9cmy2Qt59VCfe8X-Q-a3m-S6GdQkAv-S3nf9ff0Q%40mail.gmail.com.