I want to use @protected_resource()
decorator with class-based views.
But I get error: 'update_card' object has no attribute 'get_full_path'
In documentation Class-based views page is empty https://django-oauth-toolkit.readthedocs.org/en/latest/views/class_based.html
How I can protect my class-based view with decorator?