File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 88
99class 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\.\-]+\])?$"
You can’t perform that action at this time.
0 commit comments