19529 fix custom script path

This commit is contained in:
Arthur 2025-06-12 08:14:57 -07:00
parent 2ece669bde
commit 24b1cb9297

View File

@ -7,7 +7,10 @@ from extras.storage import ScriptFileSystemStorage
def normalize(url):
return url if urlparse(url).path else url + "/"
parsed_url = urlparse(url)
if not parsed_url.path.endswith('/'):
return url + '/'
return url
def fix_script_paths(apps, schema_editor):