def newNote(self, webview): note = Note(); note.creationDate = datetime.date.today() self.editNote(note)