Mounikesh
do you guys have any idea of integratinf django with aiohttp or similar franeoworks for asynchronous programming
Mounikesh
i know we have djanfo channels for thay but i found asyncio more scalable
Mounikesh
check out asgiref
thanks but it converts sync to async doesnt support websoxkets for that we need to use djanfo channels
inchidi
thanks but it converts sync to async doesnt support websoxkets for that we need to use djanfo channels
you can "build your own django channel" like you want using asgiref. fyi, django channel actually based on asyncio too
r0b0t
Hey guys. Has anyone here implemented a wysiwyg editor on django and used it with an API?
diproger
Hey
diproger
django-celery 3.2.2 has requirement celery<4.0,>=3.1.15, but you'll have celery 4.2.1 which is incompatible.
Wang
hello everyone
Wang
today i use twilio send sms in django, it s handful
Wang
but i have a question
Wang
How to confirm that twilio SMS is successfully sent
Mirco
How to confirm that twilio SMS is successfully sent
https://www.twilio.com/docs/verify/quickstart/phone-verification-django?code-sample=code-phone-verification-check-verification&code-language=Python&code-sdk-version=default
Wang
my mean is sent sms after fallback
Wang
i can know it receive or no receive by fallback in django
Wang
my question as him
Mirco
https://www.twilio.com/docs/sms/tutorials/how-to-confirm-delivery-python
Wang
https://www.twilio.com/docs/sms/tutorials/how-to-confirm-delivery-python
thanks guy, i saw it but the fallback code about flask
Frank
Hello guys, I am new to django and would like to start a project, but I don't understand how to go about the installation and implementation on a Windows pc. Your thoughts and possible solutions would be greatly appreciated.
Wang
you need install django before installed python
Frank
??
Frank
I have python installed
Wang
pip install django
Mirco
thanks guy, i saw it but the fallback code about flask
It's quite the same , u need a view with a path to POST
Frank
Wang
Thanks Jing
help each other
Frank
Nedd
My django template is unable to fetch and load the images in from the static folder even though the url is correct
Nedd
Share your code and settings
Oh I fixed it. It was an unclosed tag that was causing the problem. The images are now loading perfectly.
Nedd
I knew somebody was gonna refer to this, that's why I said the problem was caused by an unclosed tag
Milan
Can anyone suggest real time nse Stoke related data retrieval library or free api service like otherthan ɴsᴇᴛᴏᴏʟs ??
Anonymous
Lmao
Anonymous
Stack trace is lit
diproger
Stack trace is lit
can you give more details for that problem?
Anonymous
Mirco
😂😂
Raad
Can django or flask handle a database of 20000 record of companies information? What is the maximum? How do I test my app performance? How do I know my app limit?
Raad
Like for example, 20000 book store and each store have his own data
Alexander
So true...
Mirco
Remove your-server-ip:8000 your-server-ip means an IP address
Mirco
Or add a real ip address
Dope
Your image is not clear
cj
🤦🏻‍♂
cj
stop copy/pasting without understanding and stop using python 2 🤷🏻‍♂
st9_8
your-server-ip must be changed to your right ip adress. If it's local server just localhost:8000 will be sufficient. But default Django server is localhost and python manage.py runserver will work.
Sumit
Now show that error
Dope
Zoom it
I have eyes problem take screenshot...we will help you
cj
Now show that error
use proper screenshot tool or use a sharing code service, don't post photos of your screen
Sumit
stop using python 2
I have already installed python 3. 6 but by default it get 2. 7
Sumit
See it
Sumit
making python 3.6 is default is important?? And how to make it??
sravan
Try creating virtual environment by typing "virtualenv -p python3 env"
sravan
Or specify python3 while creating virtual environment
Ghorz
Like for example, 20000 book store and each store have his own data
Its not django, its the database engine, e.g Sqlite can handle storage up to 40TB. On a second thought, where there will be issue is retrieving all records to a template. That's where JavaScript's comes in. The solution will be paginating the retrieval process.
cj
now please stop posting photos of your screen 🙄
Sumit
Thank u👍
Mounikesh
do you guys have any idea of the best way to send notifications like facebook does while user likes or posts something apart from using websockets in django
Carlos
Hey guys, I am studying Django since December, and I have many and many doubts, but there is one that I didn’t understanding and I didn’t found the answer. How do I translate the SQL query below to Django Query? SELECT * FROM A , B , C WHERE A.id = B AND B.code = C.code I need all fields from A, B and C tables. Thanks in advance
cj
that's not even valid SQL syntax 🤷🏻‍♂️
Carlos
** WHERE A.id = B.id. (my mistake)
Grigoriy
Hi, all. I need a piece of advice from experienced users) Does somebody know - when Django sends error emails - sometimes there is no traceback in e-mail, only error message. Which settings configures this behaviour and which errors Django doesn't supply with tracebacks in email?
Maz
Lol...boss...hapa ni advanced stuff going on...izi beginner stories zikae kando kwanza.