Skip to content

Commit

Permalink
Remove django.py's dependency on view name "index"
Browse files Browse the repository at this point in the history
  • Loading branch information
rayluo committed Mar 4, 2024
1 parent 554a0e0 commit 85d28a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion identity/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def auth_response(self, request):
error=result["error"],
error_description=result.get("error_description"),
)
return redirect("index") # TODO: Go back to a customizable url
return redirect("/") # Use a relative URL rather than a hard-coded view name

def logout(self, request):
"""The logout view.
Expand Down
2 changes: 1 addition & 1 deletion identity/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.5.1" # Note: Perhaps update ReadTheDocs and README.md too?
__version__ = "0.5.2a1" # Note: Perhaps update ReadTheDocs and README.md too?

0 comments on commit 85d28a0

Please sign in to comment.