l***@gmail.com
2018-06-11 21:48:27 UTC
Hi there!
I am creating a custom permission class. I've noticed that view.action is
not populated when attempting a methot not allowed (405) in a custom
@action.
This creates some inconsistency when checking, I was hoping view.action
could be the method name regardless of the HTTP method trying to access it.
I am creating a custom permission class. I've noticed that view.action is
not populated when attempting a methot not allowed (405) in a custom
@action.
This creates some inconsistency when checking, I was hoping view.action
could be the method name regardless of the HTTP method trying to access it.
--
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-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.