You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
Note that in line with [Django REST framework policy](http://www.django-rest-framework.org/topics/release-notes/),
8
+
Note that in line with [Django REST framework policy](https://www.django-rest-framework.org/topics/release-notes/),
9
9
any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change.
10
10
11
11
## [Unreleased]
@@ -240,7 +240,7 @@ This is the last release supporting Python 2.7, Python 3.4, Django Filter 1.1, D
240
240
* Add testing configuration to `REST_FRAMEWORK` configuration as described in [DRF](https://www.django-rest-framework.org/api-guide/testing/#configuration)
241
241
* Add `HyperlinkedRelatedField` and `SerializerMethodHyperlinkedRelatedField`. See [usage docs](docs/usage.md#related-fields)
242
242
* Add related urls support. See [usage docs](docs/usage.md#related-urls)
243
-
* Add optional [jsonapi-style](http://jsonapi.org/format/) filter backends. See [usage docs](docs/usage.md#filter-backends)
243
+
* Add optional [jsonapi-style](https://jsonapi.org/format/) filter backends. See [usage docs](docs/usage.md#filter-backends)
244
244
245
245
### Deprecated
246
246
@@ -268,7 +268,7 @@ This is the last release supporting Python 2.7, Python 3.4, Django Filter 1.1, D
268
268
* Add `ReadOnlyModelViewSet` extension with prefetch mixins
269
269
* Add support for Django REST framework 3.8.x
270
270
* Introduce `JSON_API_FORMAT_FIELD_NAMES` option replacing `JSON_API_FORMAT_KEYS` but in comparison preserving
271
-
values from being formatted as attributes can contain any [json value](http://jsonapi.org/format/#document-resource-object-attributes).
271
+
values from being formatted as attributes can contain any [json value](https://jsonapi.org/format/#document-resource-object-attributes).
272
272
* Allow overwriting of `get_queryset()` in custom `ResourceRelatedField`
Copy file name to clipboardExpand all lines: docs/Makefile
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ BUILDDIR = _build
9
9
10
10
# User-friendly check for sphinx-build
11
11
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
12
-
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
12
+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://sphinx-doc.org/)
Per the JSON:API specification, "If the server does not support sorting as specified in the query parameter `sort`,
@@ -159,14 +159,14 @@ If you want to silently ignore bad sort fields, just use `rest_framework.filters
159
159
160
160
#### DjangoFilterBackend
161
161
162
-
`DjangoFilterBackend` implements a Django ORM-style [JSON:API`filter`](http://jsonapi.org/format/#fetching-filtering)
162
+
`DjangoFilterBackend` implements a Django ORM-style [JSON:API`filter`](https://jsonapi.org/format/#fetching-filtering)
163
163
using the [django-filter](https://django-filter.readthedocs.io/) package.
164
164
165
165
This filter is not part of the JSON:API standard per-se, other than the requirement
166
166
to use the `filter` keyword: It is an optional implementation of a style of
167
167
filtering in which each filter is an ORM expression as implemented by
168
168
`DjangoFilterBackend` and seems to be in alignment with an interpretation of the
169
-
[JSON:API_recommendations_](http://jsonapi.org/recommendations/#filtering), including relationship
169
+
[JSON:API_recommendations_](https://jsonapi.org/recommendations/#filtering), including relationship
170
170
chaining.
171
171
172
172
Filters can be:
@@ -240,7 +240,7 @@ class MyViewset(ModelViewSet):
240
240
### Exception handling
241
241
242
242
For the `exception_handler` class, if the optional `JSON_API_UNIFORM_EXCEPTIONS` is set to True,
243
-
all exceptions will respond with the JSON:API[error format](http://jsonapi.org/format/#error-objects).
243
+
all exceptions will respond with the JSON:API[error format](https://jsonapi.org/format/#error-objects).
244
244
245
245
When `JSON_API_UNIFORM_EXCEPTIONS` is False (the default), non-JSON:API views will respond
246
246
with the normal DRF error format.
@@ -312,7 +312,7 @@ multiple endpoints. Setting the `resource_name` on views may result in a differe
312
312
313
313
### Inflecting object and relation keys
314
314
315
-
This package includes the ability (off by default) to automatically convert [JSON:API field names](http://jsonapi.org/format/#document-resource-object-fields) of requests and responses from the python/rest_framework's preferred underscore to
315
+
This package includes the ability (off by default) to automatically convert [JSON:API field names](https://jsonapi.org/format/#document-resource-object-fields) of requests and responses from the python/rest_framework's preferred underscore to
316
316
a format of your choice. To hook this up include the following setting in your
317
317
project settings:
318
318
@@ -551,7 +551,7 @@ class OrderSerializer(serializers.ModelSerializer):
551
551
552
552
```
553
553
554
-
In the [JSON:API spec](http://jsonapi.org/format/#document-resource-objects),
554
+
In the [JSON:API spec](https://jsonapi.org/format/#document-resource-objects),
555
555
relationship objects contain links to related objects. To make this work
556
556
on a serializer we need to tell the `ResourceRelatedField` about the
557
557
corresponding view. Use the `HyperlinkedModelSerializer` and instantiate
@@ -755,12 +755,12 @@ class OrderSerializer(serializers.HyperlinkedModelSerializer):
755
755
### RelationshipView
756
756
`rest_framework_json_api.views.RelationshipView` is used to build
0 commit comments