Skip to content

Commit 4fa35e4

Browse files
authored
Merge pull request #318 from HackSoftware/dependencies
Update dependencies, part 2
2 parents a6edb5b + f9aade0 commit 4fa35e4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

requirements/local.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ipython==8.6.0
1111

1212
mypy==0.991
1313

14-
django-stubs==1.12.0
15-
djangorestframework-stubs==1.7.0
14+
django-stubs==1.14.0
15+
djangorestframework-stubs==1.8.0
1616
boto3-stubs==1.26.41
1717

1818
flake8==6.0.0

styleguide_example/files/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ def file_generate_upload_path(instance, filename):
1818
def file_generate_local_upload_url(*, file_id: str):
1919
url = reverse("api:files:upload:direct:local", kwargs={"file_id": file_id})
2020

21-
return f"{settings.APP_DOMAIN}{url}"
21+
app_domain: str = settings.APP_DOMAIN # type: ignore
22+
23+
return f"{app_domain}{url}"
2224

2325

2426
def bytes_to_mib(value: int) -> float:

0 commit comments

Comments
 (0)