permission_required decorator for django-ninjaIt's no surprise that django-ninja is the next big thing for django. But as you might have assumed, django-ninja is the new kid on the block. It lacks many of the necessary features of django-rest-framework ( eg: throttling,permission_required ). Recreating all of that in one article is not a feasible thing …
django-ninja instead of django-rest-framework to build coreprojectdjango-ninja is a relatively new framework ( first commit was in July 21, 2020 ). So you might ask why would you use it instead of something like django-rest-framework ( whose first commit was all the way back in Dec 30,2011 ). Well I am glad that you asked this question. Let's talk …