We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee46b4 commit a6502d7Copy full SHA for a6502d7
styleguide_example/files/utils.py
@@ -18,7 +18,9 @@ def file_generate_upload_path(instance, filename):
18
def file_generate_local_upload_url(*, file_id: str):
19
url = reverse("api:files:upload:direct:local", kwargs={"file_id": file_id})
20
21
- return f"{settings.APP_DOMAIN}{url}"
+ app_domain: str = settings.APP_DOMAIN # type: ignore
22
+
23
+ return f"{app_domain}{url}"
24
25
26
def bytes_to_mib(value: int) -> float:
0 commit comments