Commit b526b82a by Tom Christie

Placeholder for FBV docs

parent 34637bf8
<a class="github" href="decorators.py"></a> <a class="github" href="views.py"></a> <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. > 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 ...@@ -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. You won't typically need to override this method.
# Function Based Views
> Saying [that Class based views] is always the superior solution is a mistake.
>
> &mdash; [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 [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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment