Returns plugin point model instance. Only used from plugin classes.

def get_point_model(cls):
        """
        Returns plugin point model instance. Only used from plugin classes.
        """
        if is_plugin_point(cls):
            raise Exception(_('This method is only available to plugin '
                              'classes.'))
        else:
            return PluginPointModel.objects.\
                get(plugin__pythonpath=cls.get_pythonpath())