Skip to content

Commit 65c5c2c

Browse files
committed
small change for PR
1 parent 53bcc6d commit 65c5c2c

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

docs/tutorial/ordering.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Django Ninja Extra** provides an intuitive ordering model using `ordering` decoration from the Django-Ninja-Extra ordering module. It expects a Queryset from as a route function result.
44

5-
> This feature was inspired by the [DRF OrderingFilter][drf-ordering]
5+
> This feature was inspired by the [DRF OrderingFilter](https://www.django-rest-framework.org/api-guide/filtering/#orderingfilter)
66
77
## **Properties**
88

@@ -79,5 +79,3 @@ api.register_controllers(UserController)
7979
> def get_users(self):
8080
> return user_model.objects.all()
8181
> ```
82-
83-
[drf-ordering]: https://www.django-rest-framework.org/api-guide/filtering/#orderingfilter

docs/tutorial/searching.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Django Ninja Extra** provides an intuitive searching model using `searching` decoration from the Django-Ninja-Extra searching module. It expects a Queryset from as a route function result.
44

5-
> This feature was inspired by the [DRF SearchFilter][drf-search]
5+
> This feature was inspired by the [DRF SearchFilter](https://www.django-rest-framework.org/api-guide/filtering/#searchfilter)
66
77
## **Properties**
88

@@ -36,7 +36,7 @@ NINJA_EXTRA={
3636

3737
* '^' Starts-with search.
3838
* '=' Exact matches.
39-
* '@' Full-text search. (Currently only supported Django's [PostgreSQL backend][postgres-search].)
39+
* '@' Full-text search. (Currently only supported Django's [PostgreSQL backend](https://docs.djangoproject.com/en/stable/ref/contrib/postgres/search/).)
4040
* '$' Regex search.
4141

4242
For example:
@@ -88,6 +88,3 @@ api.register_controllers(UserController)
8888
> def get_users(self):
8989
> return user_model.objects.all()
9090
> ```
91-
92-
[postgres-search]: https://docs.djangoproject.com/en/stable/ref/contrib/postgres/search/
93-
[drf-search]: https://www.django-rest-framework.org/api-guide/filtering/#searchfilter

mkdocs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ nav:
4646
- Form Request: tutorial/form.md
4747
- Schema: tutorial/schema.md
4848
- Pagination: tutorial/pagination.md
49-
- Ordering: tutorial/ordering.md
50-
- Searching: tutorial/searching.md
49+
- Filtering:
50+
- Ordering: tutorial/ordering.md
51+
- Searching: tutorial/searching.md
5152
- Error Handling: tutorial/custom_exception.md
5253
- Versioning: tutorial/versioning.md
5354
- Throttling: tutorial/throttling.md

0 commit comments

Comments
 (0)