code: def create_app_list_dict(self):
          
          d = {}
          for app in self.app_list:
              models = {}
              for model in app.get('models', []):
                  models[model.get('object_name').lower()] = model
              d[app.get('app_label').lower()] = {
                  'app_url': app.get('app_url', ''),
                  'app_label': app.get('app_label'),
                  'models': models
              }
          return d
docs: Creates a more efficient to check dictionary from
              the app_list list obtained from django admin