Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Apr 19, 2023
1 parent 5856396 commit 0b2b999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ def handler500(request, *args, **argv):
view=default_views.bad_request,
kwargs={'exception': Exception('Bad Request!')},
),
url(
path(
route='403/',
view=default_views.permission_denied,
kwargs={'exception': Exception('Permission Denied')},
),
url(
path(
route='404/',
view=default_views.page_not_found,
kwargs={'exception': Exception('Page not Found')},
),
url(route='500/', view=default_views.server_error),
path(route='500/', view=default_views.server_error),
]

urlpatterns += staticfiles_urlpatterns()
Expand Down

0 comments on commit 0b2b999

Please sign in to comment.