Skip to content

Commit

Permalink
Merge pull request #613 from freelawproject/dependabot/pip/stub-packa…
Browse files Browse the repository at this point in the history
…ges-90b6b7696a

build(deps-dev): bump django-stubs from 5.0.0 to 5.1.0 in the stub-packages group
  • Loading branch information
ERosendo authored Oct 2, 2024
2 parents ab75a05 + d6a81eb commit ab33aae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ repos:
django-hcaptcha==0.2.0,
django-htmx==1.17.3,
django-rq==2.10.2,
django-stubs==5.0.0,
django-stubs==5.1.0,
"django-tailwind[reload]==3.8.0",
"Mastodon.py[cryptography]==1.8.0",
pillow==10.3.0,
Expand Down
2 changes: 1 addition & 1 deletion bc/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def password_change(request: AuthenticatedHttpRequest) -> HttpResponse:
form.save()
msg = message_dict["pwd_changed_successfully"]
messages.add_message(request, msg["level"], msg["message"])
update_session_auth_hash(request, form.user)
update_session_auth_hash(request, request.user)
return HttpResponseRedirect(reverse("password_change"))
else:
form = PasswordChangeForm(user=request.user)
Expand Down
21 changes: 11 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pylint = "^2.16.1"
wheel = "^0.44.0"
pre-commit = "^3.8.0"
flynt = "^0.77"
django-stubs = "^5.0.0"
django-stubs = "^5.1.0"
types-requests = "^2.32.0.20240523"
types-redis = "^4.6.0.2"
ipython = "^8.27.0"
Expand Down

0 comments on commit ab33aae

Please sign in to comment.