我有以下表格:
class Note(model):
note_data = models.ForeignKey(NoteData)
important = models.BooleanField(default=0)
deleted = models.DateTimeField(null=True)
deleted_by = models.ForeignKey(User, null=True)
class NoteData(model):
created = models.DateTimeField(default=datetime.now)
created_by = models.ForeignKey(User, null=True)
note = models.TextField()
如何先列出最早的所有音符?