code: def get_point_model(cls):
          
          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())
docs: Returns plugin point model instance. Only used from plugin classes.