You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking on the code, the decorator has_permission option is being deprecated in favor of check_permission which has no decorator option. Why?
My best guess is is that it should not be the responsibility of the package to implement such feature, but I could not find the documented reason.
The text was updated successfully, but these errors were encountered:
TL;DR (though it's a short thread):
the only difference in practice is that you put the new calls after function definition and not before and it helps with debugging and is better in class-based views.
Checking on the code, the decorator
has_permission
option is being deprecated in favor ofcheck_permission
which has no decorator option. Why?My best guess is is that it should not be the responsibility of the package to implement such feature, but I could not find the documented reason.
The text was updated successfully, but these errors were encountered: