

def get_project_root(self):
    '\n        Retrieves the root of the project directory without having to have a entry in the settings.\n        '
    default_site = self.get_default_site_app()
    path = self.get_default_site_path()
    for _ in range(len(default_site.split('.'))):
        path = os.path.dirname(path)
    return path

dataset/ETHPy150Open appliedsec/djangular/djangular/utils.py SiteAndPathUtils.get_project_root/original