pywa
pywa copied to clipboard
Django Server need to implemented.
Describe the bug
This is a great app for whatsapp APIs Please add django sever to reach a better community,
To Reproduce
No response
Expected behavior
No response
pywa version
No response
python version
No response
os
No response
Additional context
No response
Hey thanks. We are aware of that. It's on the list of things to add.
Thanks @yehuda-lev for the reassurance, when can we expect Django to be supported ?
I'm working on adding WhatsApp support for a Farmer's App running on a Django Backend but not sure if I should use the normal Django Rest Framework for the callback or wait for official Django support.
I'd be eternally grateful if the handlers & decorators Support Django out of the box soon 👍
The Django framework is not like all other web frameworks (flask, fadtapi etc), and its routes structure works in a different way, therefore supporting the library requires thinking about how to perform the automatic registration of the webhook without special configuration on the part of the user. We'd love to get ideas on how to add Django support :)
Hi @scroogeT Try use this https://pywa.readthedocs.io/en/latest/content/client/client_reference.html#pywa.client.WhatsApp.webhook_update_handler and this https://pywa.readthedocs.io/en/latest/content/client/client_reference.html#pywa.client.WhatsApp.webhook_challenge_handler