Skip to content

Commit

Permalink
Check_final_project_1
Browse files Browse the repository at this point in the history
  • Loading branch information
smaspb17 committed Mar 17, 2023
1 parent 223c1c7 commit 88e240b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yatube/yatube/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
]

handler404 = 'core.views.page_not_found' # обработчик ошибки 404
handler403 = 'core.views.csrf_failure' # обработчик ошибки 403


# Разрешение брать картинки пользователя в режиме отладки
if settings.DEBUG:
Expand Down

0 comments on commit 88e240b

Please sign in to comment.