if you use this method of declaring custom drf permissions for your custom django model's Meta
class perimssions
it might get tiring and difficult to maintain if you manually define a new class for each custom permission.
you can dynamically register these custom model permissions as drf permission classes using a base class factory that dynamically sets the __init__()
method.