Browse Source

#3 queries の answered を回答後立てる

main
みてるぞ 1 day ago
parent
commit
4725a9c7f4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      queries_to_answers.py

+ 2
- 0
queries_to_answers.py View File

@@ -51,6 +51,8 @@ def main (
answer.answer_type = query.query_type answer.answer_type = query.query_type
answer.sent_at = datetime.now () answer.sent_at = datetime.now ()
answer.save () answer.save ()
query.answered = True
query.save ()




class Character (Enum): class Character (Enum):


Loading…
Cancel
Save