code: def search_app_root():
          
          while True:
  
              current = os.getcwd()
  
              if pathlib.Path("apps.py").is_file():
                  return current
              elif pathlib.Path.cwd() == "/":
                  raise FileNotFoundError
              else:
                  os.chdir("../")
docs: Search your Django application root
  
          returns:
              - (String) Django application root path