code: def get_inline_instances(self, request, obj=None):
          
          inlines = super().get_inline_instances(request, obj)
          if obj:
              usergroup = RadiusUserGroupInline(self.model,
                                                self.admin_site)
              inlines.append(usergroup)
          return inlines
docs: Adds RadiusGroupInline only for existing objects