drf-psq

19 views
Skip to first unread message

MohammadAmin Haghpanah

unread,
Aug 2, 2020, 2:49:08 PM8/2/20
to Django REST framework
drf-psq is an extension for the Django REST framework that gives support for having view-based permission_classes, serializer_class, and queryset. In a typical DRF project, you probably have faced the problem that you want to set different permissions for different views with different serializers and you have to write too many if statements and override some methods to achieve this goal! Well, you don't have to do those kinds of hard stuff anymore. drf-psq is made to solve this problem and even more!

Yezileli Ilomo

unread,
Aug 8, 2020, 1:45:00 PM8/8/20
to django-res...@googlegroups.com
Cool library, I made something like that too https://github.com/yezyilomo/drf-guard

On Sun, Aug 2, 2020, 21:49 MohammadAmin Haghpanah <mdan...@gmail.com> wrote:
drf-psq is an extension for the Django REST framework that gives support for having view-based permission_classes, serializer_class, and queryset. In a typical DRF project, you probably have faced the problem that you want to set different permissions for different views with different serializers and you have to write too many if statements and override some methods to achieve this goal! Well, you don't have to do those kinds of hard stuff anymore. drf-psq is made to solve this problem and even more!

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/ffec943a-4558-4fc5-85d3-965aac7b0619o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages