aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/views.md
diff options
context:
space:
mode:
authorStephan Groß2012-10-29 09:12:21 +0100
committerStephan Groß2012-10-29 09:12:21 +0100
commit842c8b4da4a556f7f4f337d482b2f039de3770ee (patch)
tree87ee4e9533e08fb027c3cfdd224295678f3a8b14 /docs/api-guide/views.md
parent8d2774dc972ff5144d8ac0450c7f91ade2556ae0 (diff)
downloaddjango-rest-framework-842c8b4da4a556f7f4f337d482b2f039de3770ee.tar.bz2
add missing "`" for code formatting
Diffstat (limited to 'docs/api-guide/views.md')
-rw-r--r--docs/api-guide/views.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md
index 96ce3be7..5b072827 100644
--- a/docs/api-guide/views.md
+++ b/docs/api-guide/views.md
@@ -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: