From 6192f6f0b360bea578501fff4b9cdfdaa865a9c6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 17 Sep 2014 14:12:41 +0100 Subject: Latest docs deploy --- api-guide/authentication.html | 1 + api-guide/content-negotiation.html | 1 + api-guide/exceptions.html | 1 + api-guide/fields.html | 1 + api-guide/filtering.html | 5 +- api-guide/format-suffixes.html | 1 + api-guide/generic-views.html | 1 + api-guide/pagination.html | 1 + api-guide/parsers.html | 1 + api-guide/permissions.html | 1 + api-guide/relations.html | 1 + api-guide/renderers.html | 4 + api-guide/requests.html | 1 + api-guide/responses.html | 1 + api-guide/reverse.html | 1 + api-guide/routers.html | 1 + api-guide/serializers.html | 1 + api-guide/settings.html | 1 + api-guide/status-codes.html | 1 + api-guide/testing.html | 1 + api-guide/throttling.html | 1 + api-guide/views.html | 1 + api-guide/viewsets.html | 1 + index.html | 2 + topics/2.2-announcement.html | 1 + topics/2.3-announcement.html | 1 + topics/2.4-announcement.html | 1 + topics/ajax-csrf-cors.html | 1 + topics/browsable-api.html | 1 + topics/browser-enhancements.html | 1 + topics/contributing.html | 3 +- topics/credits.html | 1 + topics/documenting-your-api.html | 1 + topics/kickstarter-announcement.html | 1 + topics/release-notes.html | 1 + topics/rest-framework-2-announcement.html | 1 + topics/rest-hypermedia-hateoas.html | 3 +- topics/third-party-resources.html | 329 +++++++++++++++++++++ topics/writable-nested-serializers.html | 1 + tutorial/1-serialization.html | 1 + tutorial/2-requests-and-responses.html | 1 + tutorial/3-class-based-views.html | 1 + tutorial/4-authentication-and-permissions.html | 1 + tutorial/5-relationships-and-hyperlinked-apis.html | 1 + tutorial/6-viewsets-and-routers.html | 1 + tutorial/quickstart.html | 1 + 46 files changed, 382 insertions(+), 4 deletions(-) create mode 100644 topics/third-party-resources.html diff --git a/api-guide/authentication.html b/api-guide/authentication.html index c05b60aa..3118ff34 100644 --- a/api-guide/authentication.html +++ b/api-guide/authentication.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/content-negotiation.html b/api-guide/content-negotiation.html index 863c0720..abb639f4 100644 --- a/api-guide/content-negotiation.html +++ b/api-guide/content-negotiation.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/exceptions.html b/api-guide/exceptions.html index 0f6a1f0b..10d70239 100644 --- a/api-guide/exceptions.html +++ b/api-guide/exceptions.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/fields.html b/api-guide/fields.html index 91852e00..7ba5ac31 100644 --- a/api-guide/fields.html +++ b/api-guide/fields.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/filtering.html b/api-guide/filtering.html index cef40e9e..fe7da879 100644 --- a/api-guide/filtering.html +++ b/api-guide/filtering.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • @@ -365,7 +366,7 @@ from rest_framework import generics class ProductFilter(django_filters.FilterSet): class Meta: model = Product - fields = ['category', 'in_stock', 'manufacturer__name`] + fields = ['category', 'in_stock', 'manufacturer__name']

    This enables us to make queries like:

    http://example.com/api/products?manufacturer__name=foo
    @@ -381,7 +382,7 @@ class ProductFilter(django_filters.FilterSet):
     
         class Meta:
             model = Product
    -        fields = ['category', 'in_stock', 'manufacturer`]
    +        fields = ['category', 'in_stock', 'manufacturer']
     

    And now you can execute:

    http://example.com/api/products?manufacturer=foo
    diff --git a/api-guide/format-suffixes.html b/api-guide/format-suffixes.html
    index 7a551743..47ed1a5c 100644
    --- a/api-guide/format-suffixes.html
    +++ b/api-guide/format-suffixes.html
    @@ -117,6 +117,7 @@ a.fusion-poweredby {
                       
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/generic-views.html b/api-guide/generic-views.html index 9ae8efff..af3f445c 100644 --- a/api-guide/generic-views.html +++ b/api-guide/generic-views.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/pagination.html b/api-guide/pagination.html index 3f80ea19..0f236582 100644 --- a/api-guide/pagination.html +++ b/api-guide/pagination.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/parsers.html b/api-guide/parsers.html index 52ee597a..125c3b36 100644 --- a/api-guide/parsers.html +++ b/api-guide/parsers.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/permissions.html b/api-guide/permissions.html index 202da323..70d70604 100644 --- a/api-guide/permissions.html +++ b/api-guide/permissions.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/relations.html b/api-guide/relations.html index b4da5ccd..64e5d989 100644 --- a/api-guide/relations.html +++ b/api-guide/relations.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/renderers.html b/api-guide/renderers.html index 5678f5e0..3ce83b72 100644 --- a/api-guide/renderers.html +++ b/api-guide/renderers.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • @@ -214,6 +215,7 @@ a.fusion-poweredby {
  • CSV
  • UltraJSON
  • CamelCase JSON
  • +
  • Pandas (CSV, Excel, PNG)
  • @@ -520,6 +522,8 @@ In this case you can underspecify the media types it should respond to, by using

    UltraJSON is an optimized C JSON encoder which can give significantly faster JSON rendering. Jacob Haslehurst maintains the drf-ujson-renderer package which implements JSON rendering using the UJSON package.

    CamelCase JSON

    djangorestframework-camel-case provides camel case JSON renderers and parsers for REST framework. This allows serializers to use Python-style underscored field names, but be exposed in the API as Javascript-style camel case field names. It is maintained by Vitaly Babiy.

    +

    Pandas (CSV, Excel, PNG)

    +

    Django REST Pandas provides a serializer and renderers that support additional data processing and output via the Pandas DataFrame API. Django REST Pandas includes renderers for Pandas-style CSV files, Excel workbooks (both .xls and .xlsx), and a number of other formats. It is maintained by S. Andrew Sheppard as part of the wq Project.

    diff --git a/api-guide/requests.html b/api-guide/requests.html index 5b2e7286..50f40a53 100644 --- a/api-guide/requests.html +++ b/api-guide/requests.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/responses.html b/api-guide/responses.html index 19d7ddff..5bc21986 100644 --- a/api-guide/responses.html +++ b/api-guide/responses.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/reverse.html b/api-guide/reverse.html index e6f687fa..48c8b3c5 100644 --- a/api-guide/reverse.html +++ b/api-guide/reverse.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/routers.html b/api-guide/routers.html index b5df3b0f..a578fcfc 100644 --- a/api-guide/routers.html +++ b/api-guide/routers.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/serializers.html b/api-guide/serializers.html index 3a4f9875..b6ac381a 100644 --- a/api-guide/serializers.html +++ b/api-guide/serializers.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/settings.html b/api-guide/settings.html index 4b476851..c0866f02 100644 --- a/api-guide/settings.html +++ b/api-guide/settings.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/status-codes.html b/api-guide/status-codes.html index 4df4bc0f..2daa0edf 100644 --- a/api-guide/status-codes.html +++ b/api-guide/status-codes.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/testing.html b/api-guide/testing.html index 4f23c943..b58f4637 100644 --- a/api-guide/testing.html +++ b/api-guide/testing.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/throttling.html b/api-guide/throttling.html index 71db0319..1978a92a 100644 --- a/api-guide/throttling.html +++ b/api-guide/throttling.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/views.html b/api-guide/views.html index 0118412b..ef7db67e 100644 --- a/api-guide/views.html +++ b/api-guide/views.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/api-guide/viewsets.html b/api-guide/viewsets.html index 2e5915a9..f239a271 100644 --- a/api-guide/viewsets.html +++ b/api-guide/viewsets.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/index.html b/index.html index 268773db..5cc86df9 100644 --- a/index.html +++ b/index.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • @@ -378,6 +379,7 @@ urlpatterns = [
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/2.2-announcement.html b/topics/2.2-announcement.html index 158c58d4..ca5414bc 100644 --- a/topics/2.2-announcement.html +++ b/topics/2.2-announcement.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/2.3-announcement.html b/topics/2.3-announcement.html index 364483d8..5fb6e05f 100644 --- a/topics/2.3-announcement.html +++ b/topics/2.3-announcement.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/2.4-announcement.html b/topics/2.4-announcement.html index 352b7d63..c0fa26d0 100644 --- a/topics/2.4-announcement.html +++ b/topics/2.4-announcement.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/ajax-csrf-cors.html b/topics/ajax-csrf-cors.html index fab49dc5..85fb3ba8 100644 --- a/topics/ajax-csrf-cors.html +++ b/topics/ajax-csrf-cors.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/browsable-api.html b/topics/browsable-api.html index d0a575ca..be0a07db 100644 --- a/topics/browsable-api.html +++ b/topics/browsable-api.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/browser-enhancements.html b/topics/browser-enhancements.html index 7322ebf4..6453c5e9 100644 --- a/topics/browser-enhancements.html +++ b/topics/browser-enhancements.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/contributing.html b/topics/contributing.html index 2ef70c81..a86baac8 100644 --- a/topics/contributing.html +++ b/topics/contributing.html @@ -58,7 +58,7 @@ a.fusion-poweredby {
    GitHub Next - Previous + Previous Search @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/credits.html b/topics/credits.html index ce180992..cd27da06 100644 --- a/topics/credits.html +++ b/topics/credits.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/documenting-your-api.html b/topics/documenting-your-api.html index b65dc393..b0e81486 100644 --- a/topics/documenting-your-api.html +++ b/topics/documenting-your-api.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/kickstarter-announcement.html b/topics/kickstarter-announcement.html index 5dbb1ac2..5022f1e0 100644 --- a/topics/kickstarter-announcement.html +++ b/topics/kickstarter-announcement.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/release-notes.html b/topics/release-notes.html index 935d7dcc..4a38d156 100644 --- a/topics/release-notes.html +++ b/topics/release-notes.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/rest-framework-2-announcement.html b/topics/rest-framework-2-announcement.html index 30995d21..6ebab79b 100644 --- a/topics/rest-framework-2-announcement.html +++ b/topics/rest-framework-2-announcement.html @@ -117,6 +117,7 @@ a.fusion-poweredby {
  • Browser enhancements
  • The Browsable API
  • REST, Hypermedia & HATEOAS
  • +
  • Third Party Resources
  • Contributing to REST framework
  • 2.0 Announcement
  • 2.2 Announcement
  • diff --git a/topics/rest-hypermedia-hateoas.html b/topics/rest-hypermedia-hateoas.html index dd69e563..ffe4d760 100644 --- a/topics/rest-hypermedia-hateoas.html +++ b/topics/rest-hypermedia-hateoas.html @@ -57,7 +57,7 @@ a.fusion-poweredby {