sebpiq/django-rest-framework — comment on commit 926059dad6b8ca41c32f6387a5e7db748484e76c
File: djangorestframework/resources.py line 9
By sebpiq:

That has nothing to do with classmethods. I tried to copy a bit form API for resources, so I thought that resources can be bound or unbound. This decorator was just for checking that when an operation requiring a bound resource is attempted (update, delete, get_url), the resource is indeed bound. I changed to a more readable syntax (no decorator) in a new commit.