Skip to content

Commit 1b362e3

Browse files
authored
Merge pull request #317 from HackSoftware/dependabot/pip/dependencies/django-stubs-1.14.0
Bump django-stubs from 1.12.0 to 1.14.0
2 parents a6edb5b + a6502d7 commit 1b362e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements/local.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ipython==8.6.0
1111

1212
mypy==0.991
1313

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

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)