Browse Source
Update response-change-status-code.md
pull/11612/head
Motov Yurii
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
3 deletions
-
docs/tr/docs/advanced/response-change-status-code.md
|
|
@ -20,9 +20,7 @@ Bu durumlar için bir `Response` parametresi kullanabilirsiniz. |
|
|
|
|
|
|
|
Ardından *geçici* yanıt nesnesinde `status_code` belirtebilirsiniz. |
|
|
|
|
|
|
|
```Python hl_lines="1 9 12" |
|
|
|
{!../../../docs_src/response_change_status_code/tutorial001.py!} |
|
|
|
``` |
|
|
|
{* ../../docs_src/response_change_status_code/tutorial001.py hl[1,9,12] *} |
|
|
|
|
|
|
|
Sonunda normalde döndürdüğünüz gibi herhangi bir nesneyi döndürebilirsiniz (bir `dict`, bir veritabanı modeli, vb). |
|
|
|
|
|
|
|