Skip to content

Commit 603c339

Browse files
committed
Changed all external links to https://
1 parent 4f596d7 commit 603c339

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

rest_framework_json_api/django_filters/backends.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class DjangoFilterBackend(DjangoFilterBackend):
1515
to use the `filter` keyword: This is an optional implementation of style of
1616
filtering in which each filter is an ORM expression as implemented by
1717
DjangoFilterBackend and seems to be in alignment with an interpretation of
18-
http://jsonapi.org/recommendations/#filtering, including relationship
18+
https://jsonapi.org/recommendations/#filtering, including relationship
1919
chaining. It also returns a 400 error for invalid filters.
2020
2121
Filters can be:
@@ -58,8 +58,8 @@ class DjangoFilterBackend(DjangoFilterBackend):
5858
search_param = api_settings.SEARCH_PARAM
5959

6060
# Make this regex check for 'filter' as well as 'filter[...]'
61-
# See http://jsonapi.org/format/#document-member-names for allowed characters
62-
# and http://jsonapi.org/format/#document-member-names-reserved-characters for reserved
61+
# See https://jsonapi.org/format/#document-member-names for allowed characters
62+
# and https://jsonapi.org/format/#document-member-names-reserved-characters for reserved
6363
# characters (for use in paths, lists or as delimiters).
6464
# regex `\w` matches [a-zA-Z0-9_].
6565
# TODO: U+0080 and above allowed but not recommended. Leave them out for now.e

rest_framework_json_api/filters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class OrderingFilter(OrderingFilter):
1010
"""
11-
A backend filter that implements http://jsonapi.org/format/#fetching-sorting and
11+
A backend filter that implements https://jsonapi.org/format/#fetching-sorting and
1212
raises a 400 error if any sort field is invalid.
1313
1414
If you prefer *not* to report 400 errors for invalid sort fields, just use
@@ -74,10 +74,10 @@ class QueryParameterValidationFilter(BaseFilterBackend):
7474
7575
If you want to add some additional non-standard query parameters,
7676
override :py:attr:`query_regex` adding the new parameters. Make sure to comply with
77-
the rules at http://jsonapi.org/format/#query-parameters.
77+
the rules at https://jsonapi.org/format/#query-parameters.
7878
"""
7979

80-
#: compiled regex that matches the allowed http://jsonapi.org/format/#query-parameters:
80+
#: compiled regex that matches the allowed https://jsonapi.org/format/#query-parameters:
8181
#: `sort` and `include` stand alone; `filter`, `fields`, and `page` have []'s
8282
query_regex = re.compile(
8383
r"^(sort|include)$|^(?P<type>filter|fields|page)(\[[\w\.\-]+\])?$"

0 commit comments

Comments
 (0)