This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 601
ViewSetIntrospector broken with DRF 2.4.3 #123
Comments
Alas! This is infact breaking all views. Any PR coming this way? |
Pinging @marcgibbons - what do you reckon the status of |
This was referenced Oct 6, 2014
hey joeatmatterport this seems to work for me thank you! For Python v3:
|
I fixed this by pulling #127, thanks! |
fixed in develop. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
DRF issue: encode/django-rest-framework#1893
Since DRF 2.4.3, the CSRF exemption is added in the
APIView
's (and by extensionViewSet
's)as_view
method and no longer indispatch
. (See encode/django-rest-framework#1706 and encode/django-rest-framework#1887).What happens now is that
ViewSetIntrospector._resolve_methods
'sself.pattern.callback
is not the view, but the view wrapped in acsrf_exempt
decorator.The text was updated successfully, but these errors were encountered: