code: def get_group_model():
      
      from django.apps import apps
      model_string = get_group_model_string()
      try:
          return apps.get_model(model_string)
      except ValueError:
          raise ImproperlyConfigured("JOYOUS_GROUP_MODEL must be of the form 'app_label.model_name'")
      except LookupError:
          raise ImproperlyConfigured(
              "JOYOUS_GROUP_MODEL refers to model '%s' that has not been installed" % model_string
          )
docs: Get the group model from the ``JOYOUS_GROUP_MODEL`` setting.
      Useful for developers that need the group model.
      Defaults to the standard :class:`ls.joyous.models.GroupPage` model
      if no custom model is defined.