permabots
permabots copied to clipboard
extra select requests to database
There are such a statments message, _ = TelegramMessage.objects.get_or_create(message_id=serializer.data['message']['message_id'], for example 38 line https://github.com/jlmadurga/permabots/blob/master/permabots/views/hooks/telegram_hook.py
I think it is extra work and just "create" should be user instead. Am I correct?