From 2417cc4e2049f9f0ff3345fe9d8f6a91fca7ea02 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 13 Dec 2021 13:11:32 +0000 Subject: [PATCH] Deployed 7a84dc74 with MkDocs version: 1.1.2 --- 404.html | 4 + api-guide/authentication/index.html | 4 + api-guide/caching/index.html | 4 + api-guide/content-negotiation/index.html | 4 + api-guide/exceptions/index.html | 4 + api-guide/fields/index.html | 4 + api-guide/filtering/index.html | 4 + api-guide/format-suffixes/index.html | 4 + api-guide/generic-views/index.html | 4 + api-guide/metadata/index.html | 4 + api-guide/pagination/index.html | 4 + api-guide/parsers/index.html | 4 + api-guide/permissions/index.html | 4 + api-guide/relations/index.html | 4 + api-guide/renderers/index.html | 4 + api-guide/requests/index.html | 4 + api-guide/responses/index.html | 4 + api-guide/reverse/index.html | 4 + api-guide/routers/index.html | 4 + api-guide/schemas/index.html | 4 + api-guide/serializers/index.html | 4 + api-guide/settings/index.html | 4 + api-guide/status-codes/index.html | 4 + api-guide/testing/index.html | 4 + api-guide/throttling/index.html | 4 + api-guide/validators/index.html | 4 + api-guide/versioning/index.html | 4 + api-guide/views/index.html | 4 + api-guide/viewsets/index.html | 4 + community/3.0-announcement/index.html | 4 + community/3.1-announcement/index.html | 4 + community/3.10-announcement/index.html | 4 + community/3.11-announcement/index.html | 4 + community/3.12-announcement/index.html | 6 +- community/3.13-announcement/index.html | 532 ++++++++++++++++++ community/3.2-announcement/index.html | 4 + community/3.3-announcement/index.html | 4 + community/3.4-announcement/index.html | 4 + community/3.5-announcement/index.html | 4 + community/3.6-announcement/index.html | 4 + community/3.7-announcement/index.html | 4 + community/3.8-announcement/index.html | 4 + community/3.9-announcement/index.html | 4 + community/contributing/index.html | 4 + community/funding/index.html | 4 + community/jobs/index.html | 4 + community/kickstarter-announcement/index.html | 4 + community/mozilla-grant/index.html | 4 + community/project-management/index.html | 4 + community/release-notes/index.html | 23 +- community/third-party-packages/index.html | 4 + community/tutorials-and-resources/index.html | 4 + .../7-schemas-and-client-libraries/index.html | 4 + coreapi/from-documenting-your-api/index.html | 4 + coreapi/index.html | 4 + coreapi/schemas/index.html | 4 + index.html | 8 +- search/search_index.json | 2 +- sitemap.xml | 136 ++--- sitemap.xml.gz | Bin 753 -> 757 bytes topics/ajax-csrf-cors/index.html | 4 + topics/api-clients/index.html | 4 + topics/browsable-api/index.html | 4 + topics/browser-enhancements/index.html | 4 + topics/documenting-your-api/index.html | 4 + topics/html-and-forms/index.html | 4 + topics/internationalization/index.html | 4 + topics/rest-hypermedia-hateoas/index.html | 4 + topics/writable-nested-serializers/index.html | 4 + tutorial/1-serialization/index.html | 4 + tutorial/2-requests-and-responses/index.html | 4 + tutorial/3-class-based-views/index.html | 4 + .../index.html | 4 + .../index.html | 4 + tutorial/6-viewsets-and-routers/index.html | 4 + tutorial/quickstart/index.html | 4 + 76 files changed, 912 insertions(+), 71 deletions(-) create mode 100644 community/3.13-announcement/index.html diff --git a/404.html b/404.html index 832a6f109..fb5859e7f 100644 --- a/404.html +++ b/404.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/authentication/index.html b/api-guide/authentication/index.html index 605a86ced..760e9ec35 100644 --- a/api-guide/authentication/index.html +++ b/api-guide/authentication/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/caching/index.html b/api-guide/caching/index.html index 6643b382a..c5b372b34 100644 --- a/api-guide/caching/index.html +++ b/api-guide/caching/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/content-negotiation/index.html b/api-guide/content-negotiation/index.html index 623326374..1d55ba45e 100644 --- a/api-guide/content-negotiation/index.html +++ b/api-guide/content-negotiation/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/exceptions/index.html b/api-guide/exceptions/index.html index c72311e4a..9912e07b6 100644 --- a/api-guide/exceptions/index.html +++ b/api-guide/exceptions/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/fields/index.html b/api-guide/fields/index.html index f2d68555d..c886d2b42 100644 --- a/api-guide/fields/index.html +++ b/api-guide/fields/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/filtering/index.html b/api-guide/filtering/index.html index ed6840e3b..830b7061c 100644 --- a/api-guide/filtering/index.html +++ b/api-guide/filtering/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/format-suffixes/index.html b/api-guide/format-suffixes/index.html index 68c30a6df..42f8ee13b 100644 --- a/api-guide/format-suffixes/index.html +++ b/api-guide/format-suffixes/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/generic-views/index.html b/api-guide/generic-views/index.html index d6b08991d..71de096cc 100644 --- a/api-guide/generic-views/index.html +++ b/api-guide/generic-views/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/metadata/index.html b/api-guide/metadata/index.html index e0abff12f..679cf8657 100644 --- a/api-guide/metadata/index.html +++ b/api-guide/metadata/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/pagination/index.html b/api-guide/pagination/index.html index 2cac0c0a1..2cc49186c 100644 --- a/api-guide/pagination/index.html +++ b/api-guide/pagination/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/parsers/index.html b/api-guide/parsers/index.html index de3adb6fb..719a7ac6a 100644 --- a/api-guide/parsers/index.html +++ b/api-guide/parsers/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/permissions/index.html b/api-guide/permissions/index.html index ae4d03af0..caad46672 100644 --- a/api-guide/permissions/index.html +++ b/api-guide/permissions/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/relations/index.html b/api-guide/relations/index.html index 81c21cdb9..3e4c2176e 100644 --- a/api-guide/relations/index.html +++ b/api-guide/relations/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/renderers/index.html b/api-guide/renderers/index.html index c757cfa9a..d89007b00 100644 --- a/api-guide/renderers/index.html +++ b/api-guide/renderers/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/requests/index.html b/api-guide/requests/index.html index 711814723..012ddf947 100644 --- a/api-guide/requests/index.html +++ b/api-guide/requests/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/responses/index.html b/api-guide/responses/index.html index 77af2b67d..7ba2763e0 100644 --- a/api-guide/responses/index.html +++ b/api-guide/responses/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/reverse/index.html b/api-guide/reverse/index.html index 60012c055..1f928d4d1 100644 --- a/api-guide/reverse/index.html +++ b/api-guide/reverse/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/routers/index.html b/api-guide/routers/index.html index 16223593f..eb1c329fa 100644 --- a/api-guide/routers/index.html +++ b/api-guide/routers/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/schemas/index.html b/api-guide/schemas/index.html index ef8ea7efd..cd955d39c 100644 --- a/api-guide/schemas/index.html +++ b/api-guide/schemas/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/serializers/index.html b/api-guide/serializers/index.html index 7a06d325a..83e1c9b1f 100644 --- a/api-guide/serializers/index.html +++ b/api-guide/serializers/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/settings/index.html b/api-guide/settings/index.html index e17e50bcc..a8e24279c 100644 --- a/api-guide/settings/index.html +++ b/api-guide/settings/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/status-codes/index.html b/api-guide/status-codes/index.html index f56286c13..c409c4d6c 100644 --- a/api-guide/status-codes/index.html +++ b/api-guide/status-codes/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/testing/index.html b/api-guide/testing/index.html index dfaad2e5c..f926d8a86 100644 --- a/api-guide/testing/index.html +++ b/api-guide/testing/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/throttling/index.html b/api-guide/throttling/index.html index d52e5b455..3895a631c 100644 --- a/api-guide/throttling/index.html +++ b/api-guide/throttling/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/validators/index.html b/api-guide/validators/index.html index a95944ab8..a65ffedeb 100644 --- a/api-guide/validators/index.html +++ b/api-guide/validators/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/versioning/index.html b/api-guide/versioning/index.html index 837943a87..ce4a64a2d 100644 --- a/api-guide/versioning/index.html +++ b/api-guide/versioning/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/views/index.html b/api-guide/views/index.html index 889a42d36..baca663b2 100644 --- a/api-guide/views/index.html +++ b/api-guide/views/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/api-guide/viewsets/index.html b/api-guide/viewsets/index.html index 62cea93c1..f627ab876 100644 --- a/api-guide/viewsets/index.html +++ b/api-guide/viewsets/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.0-announcement/index.html b/community/3.0-announcement/index.html index c528ffc3d..d2a644e4d 100644 --- a/community/3.0-announcement/index.html +++ b/community/3.0-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.1-announcement/index.html b/community/3.1-announcement/index.html index 05daf3e74..24d5a7cd4 100644 --- a/community/3.1-announcement/index.html +++ b/community/3.1-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.10-announcement/index.html b/community/3.10-announcement/index.html index e933332a2..bdbb11b60 100644 --- a/community/3.10-announcement/index.html +++ b/community/3.10-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.11-announcement/index.html b/community/3.11-announcement/index.html index 5687d0601..d2fc65a24 100644 --- a/community/3.11-announcement/index.html +++ b/community/3.11-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.12-announcement/index.html b/community/3.12-announcement/index.html index 70bacf338..ec8fdd6fc 100644 --- a/community/3.12-announcement/index.html +++ b/community/3.12-announcement/index.html @@ -57,7 +57,7 @@ - Search @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.13-announcement/index.html b/community/3.13-announcement/index.html new file mode 100644 index 000000000..f7109fb15 --- /dev/null +++ b/community/3.13-announcement/index.html @@ -0,0 +1,532 @@ + + + + + + + 3.13 Announcement - Django REST framework + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    + + + +
    +
    +
    + + +
    +
    + +
    + + + + + +

    Django REST framework 3.13

    +

    Django 4.0 support

    +

    The latest release now fully supports Django 4.0.

    +

    Our requirements are now:

    +
      +
    • Python 3.6+
    • +
    • Django 4.0, 3.2, 3.1, 2.2 (LTS)
    • +
    +

    Fields arguments are now keyword-only

    +

    When instantiating fields on serializers, you should always use keyword arguments, +such as serializers.CharField(max_length=200). This has always been the case, +and all the examples that we have in the documentation use keyword arguments, +rather than positional arguments.

    +

    From REST framework 3.13 onwards, this is now explicitly enforced.

    +

    The most feasible cases where users might be accidentally omitting the keyword arguments +are likely in the composite fields, ListField and DictField. For instance...

    +
    aliases = serializers.ListField(serializers.CharField())
    +
    +

    They must now use the more explicit keyword argument style...

    +
    aliases = serializers.ListField(child=serializers.CharField())
    +
    +

    This change has been made because using positional arguments here does not result in the expected behaviour.

    +

    See Pull Request #7632 for more details.

    + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/community/3.2-announcement/index.html b/community/3.2-announcement/index.html index 450e4c197..07ded67a8 100644 --- a/community/3.2-announcement/index.html +++ b/community/3.2-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.3-announcement/index.html b/community/3.3-announcement/index.html index bb167ce74..fcd3026cc 100644 --- a/community/3.3-announcement/index.html +++ b/community/3.3-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.4-announcement/index.html b/community/3.4-announcement/index.html index 7f4686acd..f32a2b926 100644 --- a/community/3.4-announcement/index.html +++ b/community/3.4-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.5-announcement/index.html b/community/3.5-announcement/index.html index 6d56e79a9..a45f41388 100644 --- a/community/3.5-announcement/index.html +++ b/community/3.5-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.6-announcement/index.html b/community/3.6-announcement/index.html index 7c9650360..1fe8b2b0d 100644 --- a/community/3.6-announcement/index.html +++ b/community/3.6-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.7-announcement/index.html b/community/3.7-announcement/index.html index 9697d7455..462306b26 100644 --- a/community/3.7-announcement/index.html +++ b/community/3.7-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.8-announcement/index.html b/community/3.8-announcement/index.html index 642f2be33..bdf858e6f 100644 --- a/community/3.8-announcement/index.html +++ b/community/3.8-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/3.9-announcement/index.html b/community/3.9-announcement/index.html index acf8e31e3..cb57a79bc 100644 --- a/community/3.9-announcement/index.html +++ b/community/3.9-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/contributing/index.html b/community/contributing/index.html index 895ced1fb..a2d844635 100644 --- a/community/contributing/index.html +++ b/community/contributing/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/funding/index.html b/community/funding/index.html index 37cb2d6e5..fd0f3481c 100644 --- a/community/funding/index.html +++ b/community/funding/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/jobs/index.html b/community/jobs/index.html index fa7e2f07c..140f69d8d 100644 --- a/community/jobs/index.html +++ b/community/jobs/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/kickstarter-announcement/index.html b/community/kickstarter-announcement/index.html index c9920b383..d66225f88 100644 --- a/community/kickstarter-announcement/index.html +++ b/community/kickstarter-announcement/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/mozilla-grant/index.html b/community/mozilla-grant/index.html index 82a050bfb..7bbfa88bd 100644 --- a/community/mozilla-grant/index.html +++ b/community/mozilla-grant/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/project-management/index.html b/community/project-management/index.html index 14d3b863f..316f1c457 100644 --- a/community/project-management/index.html +++ b/community/project-management/index.html @@ -293,6 +293,10 @@ Release Notes +
  • + 3.13 Announcement +
  • +
  • 3.12 Announcement
  • diff --git a/community/release-notes/index.html b/community/release-notes/index.html index c3e647431..f5e9ab20c 100644 --- a/community/release-notes/index.html +++ b/community/release-notes/index.html @@ -54,7 +54,7 @@