Skip to content

Commit

Permalink
Bump django from 5.0.7 to 5.0.8 (#2325)
Browse files Browse the repository at this point in the history
* Bump django from 5.0.7 to 5.0.8

* [pre-commit.ci] auto fixes from pre-commit.com hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
sobolevn and pre-commit-ci[bot] authored Aug 7, 2024
1 parent ac2b526 commit b0fefea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion django-stubs/db/models/expressions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ class RawSQL(Expression):
def __init__(self, sql: str, params: Sequence[Any], output_field: Field | None = ...) -> None: ...

class Star(Expression): ...
class DatabaseDefault(Expression): ...

class DatabaseDefault(Expression):
def __init__(self, expression: Expression, output_field: Field | None = None) -> None: ...

class Col(Expression):
target: Field
Expand Down
1 change: 1 addition & 0 deletions django-stubs/utils/html.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ from django.utils.functional import SimpleLazyObject, _StrOrPromise
from django.utils.safestring import SafeData, SafeString

VOID_ELEMENTS: set[str]
MAX_URL_LENGTH: int

def escape(text: Any) -> SafeString: ...
def escapejs(value: Any) -> SafeString: ...
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.13; python_version < '3.10'
Django==5.0.7; python_version >= '3.10'
Django==5.0.8; python_version >= '3.10'
-e ./ext
-e .[redis,compatible-mypy,oracle]

Expand Down

0 comments on commit b0fefea

Please sign in to comment.