
    h                     
    d  Z y)c                     t        | t              r| S dj                  | j                  j                  | j
                        S )z
    Take a model class or model label and return its model label.

    >>> get_model_label(MyModel)
    "myapp.MyModel"

    >>> get_model_label("myapp.MyModel")
    "myapp.MyModel"
    z{}.{})
isinstancestrformat_meta	app_label__name__)models    G/home/dcms/DCMS/lib/python3.12/site-packages/filer/utils/model_label.pyget_model_labelr      s8     %~~KK!!NN
 	
    N)r    r   r
   <module>r      s
   
r   