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.
2 parents a6edb5b + f9aade0 commit 4fa35e4Copy full SHA for 4fa35e4
requirements/local.txt
@@ -11,8 +11,8 @@ ipython==8.6.0
11
12
mypy==0.991
13
14
-django-stubs==1.12.0
15
-djangorestframework-stubs==1.7.0
+django-stubs==1.14.0
+djangorestframework-stubs==1.8.0
16
boto3-stubs==1.26.41
17
18
flake8==6.0.0
styleguide_example/files/utils.py
@@ -18,7 +18,9 @@ def file_generate_upload_path(instance, filename):
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