How to get an app name using python in django
I believe the updated solution is view.__module__. This returns your app_name both from Django and Django Rest Framework.
My scenario was working with dynamically module or app_name from view call so that I can work with access permission check for that particular module.
If you are in the view and want to retrieve the app name using Python ( the app name will be used for further logic ), how would you do it ?