code: def _create_djset(args, cls):
      
      name = args.get('--name')
      settings = args.get('--settings')
      if name:
          return cls(name=name)
      elif settings:
          return cls(name=settings)
      else:
          return cls()
docs: Return a DjSecret object