Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 15, 2025
1 parent edfe1af commit 50917cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django-stubs/contrib/admin/options.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ class BaseModelAdmin(Generic[_ModelT]):
def get_sortable_by(self, request: HttpRequest) -> _DisplayT[_ModelT]: ...
@overload
@deprecated("None value for the request parameter will be removed in Django 6.0.")
def lookup_allowed(self, request: None = None) -> bool: ...
def lookup_allowed(self, lookup: str, value: str, request: None = None) -> bool: ...
@overload
def lookup_allowed(self, request: HttpRequest) -> bool: ...
def lookup_allowed(self, lookup: str, value: str, request: HttpRequest) -> bool: ...
def to_field_allowed(self, request: HttpRequest, to_field: str) -> bool: ...
def has_add_permission(self, request: HttpRequest) -> bool: ...
def has_change_permission(self, request: HttpRequest, obj: _ModelT | None = ...) -> bool: ...
Expand Down

0 comments on commit 50917cb

Please sign in to comment.