Skip to content

Commit 70e54f4

Browse files
authored
Revert docs back to djangorestframework-guardian (#9734)
1 parent 3038494 commit 70e54f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/api-guide/permissions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ As with `DjangoModelPermissions` you can use custom model permissions by overrid
201201

202202
---
203203

204-
**Note**: If you need object level `view` permissions for `GET`, `HEAD` and `OPTIONS` requests and are using django-guardian for your object-level permissions backend, you'll want to consider using the `DjangoObjectPermissionsFilter` class provided by the [`djangorestframework-guardian2` package][django-rest-framework-guardian2]. It ensures that list endpoints only return results including objects for which the user has appropriate view permissions.
204+
**Note**: If you need object level `view` permissions for `GET`, `HEAD` and `OPTIONS` requests and are using django-guardian for your object-level permissions backend, you'll want to consider using the `DjangoObjectPermissionsFilter` class provided by the [`djangorestframework-guardian` package][django-rest-framework-guardian]. It ensures that list endpoints only return results including objects for which the user has appropriate view permissions.
205205

206206
---
207207

@@ -356,6 +356,6 @@ The [Django Rest Framework PSQ][drf-psq] package is an extension that gives supp
356356
[rest-framework-roles]: https://github.com/Pithikos/rest-framework-roles
357357
[djangorestframework-api-key]: https://florimondmanca.github.io/djangorestframework-api-key/
358358
[django-rest-framework-role-filters]: https://github.com/allisson/django-rest-framework-role-filters
359-
[django-rest-framework-guardian2]: https://github.com/johnthagen/django-rest-framework-guardian2
359+
[django-rest-framework-guardian]: https://github.com/rpkilby/django-rest-framework-guardian
360360
[drf-access-policy]: https://github.com/rsinger86/drf-access-policy
361361
[drf-psq]: https://github.com/drf-psq/drf-psq

docs/community/third-party-packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ To submit new content, [create a pull request][drf-create-pr].
126126
* [djangorestframework-chain][djangorestframework-chain] - Allows arbitrary chaining of both relations and lookup filters.
127127
* [django-url-filter][django-url-filter] - Allows a safe way to filter data via human-friendly URLs. It is a generic library which is not tied to DRF but it provides easy integration with DRF.
128128
* [drf-url-filter][drf-url-filter] is a simple Django app to apply filters on drf `ModelViewSet`'s `Queryset` in a clean, simple and configurable way. It also supports validations on incoming query params and their values.
129-
* [django-rest-framework-guardian2][django-rest-framework-guardian2] - Provides integration with django-guardian, including the `DjangoObjectPermissionsFilter` previously found in DRF.
129+
* [django-rest-framework-guardian][django-rest-framework-guardian] - Provides integration with django-guardian, including the `DjangoObjectPermissionsFilter` previously found in DRF.
130130

131131
### Misc
132132

@@ -242,7 +242,7 @@ To submit new content, [create a pull request][drf-create-pr].
242242
[djangorestframework-dataclasses]: https://github.com/oxan/djangorestframework-dataclasses
243243
[django-restql]: https://github.com/yezyilomo/django-restql
244244
[djangorestframework-mvt]: https://github.com/corteva/djangorestframework-mvt
245-
[django-rest-framework-guardian2]: https://github.com/johnthagen/django-rest-framework-guardian2
245+
[django-rest-framework-guardian]: https://github.com/rpkilby/django-rest-framework-guardian
246246
[drf-viewset-profiler]: https://github.com/fvlima/drf-viewset-profiler
247247
[djangorestframework-features]: https://github.com/cloudcode-hungary/django-rest-framework-features/
248248
[django-elasticsearch-dsl-drf]: https://github.com/barseghyanartur/django-elasticsearch-dsl-drf

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy