0

There's a view that gets a parameter.

class MyView(View):
    def get(self, request, pk):
         # ...             ^^

To decide whether the user is allowed or not, that parameter is needed. Is it possible to write a custom permission mixin to take care of it?

ParsaAi
  • 293
  • 1
  • 14

0 Answers0