mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 10:45:51 +03:00
add missing "`" for code formatting
This commit is contained in:
parent
8d2774dc97
commit
842c8b4da4
|
@ -122,7 +122,7 @@ REST framework also allows you to work with regular function based views. It pro
|
|||
|
||||
## @api_view()
|
||||
|
||||
**Signature:** `@api_view(http_method_names)
|
||||
**Signature:** `@api_view(http_method_names)`
|
||||
|
||||
The core of this functionality is the `api_view` decorator, which takes a list of HTTP methods that your view should respond to. For example, this is how you would write a very simple view that just manually returns some data:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user