@classmethod
def get_parent_model(cls):
    """Get the model of the parent item"""
    if cls.parent_field_name == '':
        return None
    return cls._meta.get_field(cls.parent_field_name).related_model
