Skip to content

Commit

Permalink
Filter out all admin pages
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinEtchells committed Sep 13, 2024
1 parent 71d6a26 commit 7193198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_app/redbox_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
def filter_transactions(event, hint):
url_string = event["request"]["url"]
parsed_url = urlparse(url_string)
if parsed_url.path == "/admin":
if parsed_url.path.startswith("/admin"):
return None
return event

Expand Down

0 comments on commit 7193198

Please sign in to comment.