Skip to content

Commit

Permalink
Bump django to 5.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Nov 6, 2024
1 parent 4482fcf commit 53daf6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions django-stubs/contrib/gis/geoip2/base.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ from pathlib import Path
from typing import Any

from django.contrib.gis.geos import Point
from django.utils.functional import cached_property

GEOIP_SETTINGS: dict[str, Any]

Expand All @@ -23,6 +24,10 @@ class GeoIP2:
def country_code(self, query: str) -> str: ...
def country_name(self, query: str) -> str: ...
def country(self, query: str) -> dict[str, Any]: ...
@cached_property
def is_city(self) -> bool: ...
@cached_property
def is_country(self) -> bool: ...
def coords(self, query: str, ordering: Sequence[str] = ...) -> tuple[float, float] | tuple[None, None]: ...
def lon_lat(self, query: str) -> tuple[float, float] | tuple[None, None]: ...
def lat_lon(self, query: str) -> tuple[float, float] | tuple[None, None]: ...
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest-shard==0.1.2
# Django deps:
psycopg2-binary
Django==4.2.16; python_version < '3.10'
Django==5.1.2; python_version >= '3.10'
Django==5.1.3; python_version >= '3.10'
-e ./ext
-e .[redis,compatible-mypy,oracle]

Expand Down

0 comments on commit 53daf6c

Please sign in to comment.