Skip to content

Commit

Permalink
Fix bad request naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Mar 23, 2024
1 parent 8cf443a commit 927b57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddcz/views/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def legacy_router(request):
try:
id = int(id)
except ValueError:
return HttpBadRequest("id musí být číslo")
return HttpResponseBadRequest("id musí být číslo")

# The LEGACY_PLAIN_ROUTER is redirecting basic pages.
# Typically no creative pages are present here.
Expand Down

0 comments on commit 927b57c

Please sign in to comment.