diff options
| author | Tom Christie | 2012-10-02 11:04:06 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-02 11:04:06 +0100 |
| commit | b526b82abf4be55faa7610bdeeefa340f84ad2d1 (patch) | |
| tree | 301d0202542e457252e2a9d8c8db74bc30f4da8a /docs/api-guide/views.md | |
| parent | 34637bf8578bdfff2d60f36e6e5ac6314a330eaf (diff) | |
| download | django-rest-framework-b526b82abf4be55faa7610bdeeefa340f84ad2d1.tar.bz2 | |
Placeholder for FBV docs
Diffstat (limited to 'docs/api-guide/views.md')
| -rw-r--r-- | docs/api-guide/views.md | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md index e7f12b45..37d2285b 100644 --- a/docs/api-guide/views.md +++ b/docs/api-guide/views.md @@ -1,6 +1,6 @@ <a class="github" href="decorators.py"></a> <a class="github" href="views.py"></a> -# Views +# Class Based Views > Django's class based views are a welcome departure from the old-style views. > @@ -110,4 +110,15 @@ Ensures that any `Response` object returned from the handler method will be rend You won't typically need to override this method. -[cite]: http://reinout.vanrees.org/weblog/2011/08/24/class-based-views-usage.html
\ No newline at end of file +# Function Based Views + +> Saying [that Class based views] is always the superior solution is a mistake. +> +> — [Nick Coghlan][cite2] + +REST framework also gives you to work with regular function based views... + +**[TODO]** + +[cite]: http://reinout.vanrees.org/weblog/2011/08/24/class-based-views-usage.html +[cite2]: http://www.boredomandlaziness.org/2012/05/djangos-cbvs-are-not-mistake-but.html
\ No newline at end of file |
