These are chat archives for django/django

28th
Oct 2017
Kurian Benoy
@kurianbenoy
Oct 28 2017 12:16
'Can someone help me on how to make chat bot with django?'
White Rabbit
@Wahtdb_twitter
Oct 28 2017 15:53
Let's assume that I have in my POST method three fields - field1, field2, field3 however in POST method field2 and field3 should have the same value during adding to the database. So there is no need to add for instance field2=2, field3=2 manually. I could add only field1=1, field2=2 and then field3=2 will be added to this body automatically and finally whole 3 fields will be added to the database. I wonder how it should be done in most optimal way? Should it be done in view?
Alex Zwir
@AlexZwir_twitter
Oct 28 2017 19:18
hey @cs89gr ! Sorry to take so long to answer! Yes, let’s talk about django
Anton
@singleton11
Oct 28 2017 19:20
@cs89gr what's your issue with celery?
Alex Zwir
@AlexZwir_twitter
Oct 28 2017 19:20
@kurianbenoy Are you using any other platform? I’ve made a chatbot api app in my work, but i actually didn’t do with django!
Anton
@singleton11
Oct 28 2017 19:21
sorry, I see
delay is a standard way to execute your async tasks, if it lays on your problem, use delay
@cs89gr