10👍
✅
Below will return string value
model_name = PolicyCreateSerializer.Meta.model.__name__
Source:stackexchange.com
10👍
Below will return string value
model_name = PolicyCreateSerializer.Meta.model.__name__