Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70e54f4

Browse files
authored
Revert docs back to djangorestframework-guardian (#9734)
1 parent3038494 commit70e54f4

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)

[8]ページ先頭

©2009-2025 Movatter.jp