From 480b64d3138f4b37dc1cbce7202573fb1f94f2a6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 14 Dec 2013 20:44:09 +0000 Subject: [PATCH] Latest docs build --- api-guide/relations.html | 9 ++++++++- index.html | 2 +- topics/credits.html | 1 + topics/release-notes.html | 12 ++++++++++++ tutorial/quickstart.html | 2 ++ 5 files changed, 24 insertions(+), 2 deletions(-) diff --git a/api-guide/relations.html b/api-guide/relations.html index 218421979..7b4056dbf 100644 --- a/api-guide/relations.html +++ b/api-guide/relations.html @@ -6,7 +6,7 @@ - + @@ -185,6 +185,8 @@
  • ManyToManyFields with a Through Model
  • Advanced Hyperlinked fields
  • Deprecated APIs
  • +
  • Third Party Packages
  • +
  • DRF Nested Routers

  • @@ -578,6 +580,11 @@ They continue to function, but their usage will raise a PendingDeprecation

    In the 2.3 release, these warnings will be escalated to a DeprecationWarning, which is loud by default. In the 2.4 release, these parts of the API will be removed entirely.

    For more details see the 2.2 release announcement.

    +
    +

    Third Party Packages

    +

    The following third party packages are also available.

    +

    DRF Nested Routers

    +

    The drf-nested-routers package provides routers and relationship fields for working with nested resources.

    diff --git a/index.html b/index.html index 2ecaed744..2d8e68c3a 100644 --- a/index.html +++ b/index.html @@ -305,7 +305,7 @@ class GroupViewSet(viewsets.ModelViewSet): model = Group -# Routers provide an easy way of automatically determining the URL conf +# Routers provide an easy way of automatically determining the URL conf. router = routers.DefaultRouter() router.register(r'users', UserViewSet) router.register(r'groups', GroupViewSet) diff --git a/topics/credits.html b/topics/credits.html index d789963b7..533de8821 100644 --- a/topics/credits.html +++ b/topics/credits.html @@ -384,6 +384,7 @@
  • Alex Good - alexjg
  • Ian Foote - ian-foote
  • Chuck Harmston - chuckharmston
  • +
  • Philip Forget - philipforget
  • Many thanks to everyone who's contributed to the project.

    Additional thanks

    diff --git a/topics/release-notes.html b/topics/release-notes.html index b3f7b2253..2630aaa0a 100644 --- a/topics/release-notes.html +++ b/topics/release-notes.html @@ -247,7 +247,9 @@

    Master

    2.3.10

    Date: 6th December 2013

    @@ -288,7 +290,17 @@
  • Bugfix: client.force_authenticate(None) should also clear session info if it exists.
  • Bugfix: Client sending empty string instead of file now clears FileField.
  • Bugfix: Empty values on ChoiceFields with required=False now consistently return None.
  • +
  • Bugfix: Clients setting page=0 now simply returns the default page size, instead of disabling pagination. [*]
  • +
    +

    [*] Note that the change in page=0 behaviour fixes what is considered to be a bug in how clients can effect the pagination size. However if you were relying on this behavior you will need to add the following mixin to your list views in order to preserve the existing behavior.

    +
    class DisablePaginationMixin(object):
    +    def get_paginate_by(self, queryset=None):
    +        if self.request.QUERY_PARAMS['self.paginate_by_param'] == '0':
    +            return None
    +        return super(DisablePaginationMixin, self).get_paginate_by(queryset)
    +
    +

    2.3.7

    Date: 16th August 2013