code: def note_user_data(note, role):
      
      if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
          return note.user.username
docs: Return the data for user
  
      :param note: the note that holds the data
      :type note: :class:`jukeboxcore.djadapter.models.Note`
      :param role: item data role
      :type role: QtCore.Qt.ItemDataRole
      :returns: data for the created date
      :rtype: depending on role
      :raises: None