Use throttle_classes
for spyne application for set rate limit
#653
Replies: 4 comments 1 reply
-
I never used django so I don't know, really. Does the django example in the repository help? |
Beta Was this translation helpful? Give feedback.
-
If this is a Django issue, please seek help in Django's support channels. If this is a Spyne issue, please reply with a working code sample that reproduces the issue, its output and what makes you think that the code "doesn't work" in that output. |
Beta Was this translation helpful? Give feedback.
-
@plq , this is not a django issue, how to use decorator with spyne Service. |
Beta Was this translation helpful? Give feedback.
-
@plq ,
This is django's django view which is working |
Beta Was this translation helpful? Give feedback.
-
I want to use throttle_classes for my API which has spyne application, i found below link to implement it in url.py file, but it is not working for spyne DjangoView.
Link for use classes in URL
https://stackoverflow.com/questions/60666418/remove-authentication-and-permission-for-specific-url-path
url(
r"^vapi/",
(permission_classes([IsAuthenticated])(vapi_view.vapp)).as_view(application=vapi_view.vapp),
),
Beta Was this translation helpful? Give feedback.
All reactions