Skip to content

Commit

Permalink
Fixed type of AdminSite.site_url to allow None (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
LincolnPuzey authored Feb 24, 2023
1 parent 0fbd90a commit 0aec01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/contrib/admin/sites.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AdminSite:
site_title: _StrOrPromise
site_header: _StrOrPromise
index_title: _StrOrPromise
site_url: str
site_url: str | None
login_form: type[AuthenticationForm] | None
index_template: str | None
app_index_template: str | None
Expand Down

0 comments on commit 0aec01b

Please sign in to comment.