new_contents: from django.core.management.base import BaseCommand
  from django.conf import settings
  import os
  from pprint import pprint
  
  
  class Command(BaseCommand):
      help = 'Display all the currently loaded settings in the project'
  
      def handle(self, *args, **options):
  
          os.environ['DJANGO_SETTINGS_MODULE'] = 'my_django_project.settings'
  
          a_dict = {}
  
          for attr in dir(settings):
              value = getattr(settings, attr)
              a_dict[attr] = value
  
          pprint(a_dict)
  
subject: Add Management Command To Easily Display Settings (#4706)