Browse Source

#3 修正

main
みてるぞ 1 day ago
parent
commit
06cd03db26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models.py

+ 1
- 1
models.py View File

@@ -46,7 +46,7 @@ class Query (Model):
def answer_histories (
self,
) -> list[Answer]:
return [x.answer for x in self.has_many (QueryAnswerHistory)]
return [x.answer for x in self.has_many (QueryAnswerHistory).get ()]


class QueryAnswerHistory (Model):


Loading…
Cancel
Save