django-rest-framework/docs/api-guide
Marc Gibbons d80b0eaead Update schema generator example (#4267)
1. The returns from the views needs to be a Response
2. I found that instantiating the generator at the module level caused an import error when starting Django, likely because it is executing before all the app load magic happened. Moving it into the view method solved this.
2016-07-18 16:04:23 +01:00
..
authentication.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
content-negotiation.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
exceptions.md Docs on exception handler context. Closes #2604. 2015-02-26 13:20:26 +00:00
fields.md Add localize keyword argument to DecimalField (#4233) 2016-07-06 16:07:16 +01:00
filtering.md lookup_type is deprecated in favor of lookup_expr (#4259) 2016-07-13 14:40:42 +01:00
format-suffixes.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
generic-views.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
metadata.md More docs on configuring a custom metadata class. 2015-07-16 10:19:27 +01:00
pagination.md Update pagination.md 2016-06-28 10:15:42 +08:00
parsers.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
permissions.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
relations.md Typo fix (#4094) 2016-05-03 15:53:55 +01:00
renderers.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
requests.md Update requests.md 2016-05-18 08:38:18 +01:00
responses.md Use MkDocs meta.source to render source code links 2014-11-25 12:44:11 +00:00
reverse.md Use MkDocs meta.source to render source code links 2014-11-25 12:44:11 +00:00
routers.md minor docs indentation fix (#4101) 2016-05-06 11:58:58 +01:00
schemas.md Update schema generator example (#4267) 2016-07-18 16:04:23 +01:00
serializers.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
settings.md docs.settings: fix name of VERSION_PARAM 2016-07-15 14:34:27 -04:00
status-codes.md Change tab to spaces 2015-12-23 12:58:14 -08:00
testing.md Fix testing example. Closes #3346 2015-08-28 13:52:18 +01:00
throttling.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
validators.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
versioning.md Add /en to Heroku guidelines link 2016-03-07 21:01:04 +01:00
views.md Replace "class based views" occurrences with "class-based views" (#4251) 2016-07-08 08:38:50 +01:00
viewsets.md Add .partial_update to ModelViewSet documentation 2016-03-29 10:50:12 -06:00