Use redis+celery (using Ali Source or optionally not)pip install -i https://mirrors.aliyun.com/pypi/simple/ -U "celery[redis]"
Modify Django's settings configuration file
Add celery file
Add a folder to the app peer directory, for example: service_celery
Add celery.py file to ...
Posted on Tue, 08 Oct 2019 00:51:29 -0700 by petersen313
The last two nights of an online system crash, after opening the online error log immediately, only a meaningless stack of program calls (traceback) output was obtained, and the team members were caught in a lengthy and confusing problem-solving process.Fortunately, the problem was resolved, but I have been wondering why the call sta ...
Posted on Sat, 21 Sep 2019 10:04:14 -0700 by will
Open stmp service
Take 163 mailbox for example, Click to set stmp inside
Open Client Authorization Password
As shown above, because I'm already on, the page above appears.
In this way, the mailbox is ready.
Send mail using Django built-in functions
1. Add the following configuration to the settings file
Posted on Sun, 15 Sep 2019 09:44:49 -0700 by robviperx
WebSocket - Open the Gate to the New World
What is WebSocket?
WebSocket is a protocol for full-duplex communication over a single TCP connection. WebSocket allows the server to actively push data to the client. In WebSocket protocol, the client browser and server can create a persistent connection with only one handshake, and carry out bidire ...
Posted on Thu, 16 May 2019 15:39:14 -0700 by pdmiller
I hope that through the study of these two articles, I can have a deeper understanding of Channels and use them with ease and ease.
Pass the previous article "Django Implementing WebSocket with Channels -- Part I" Learning should have a clear understanding of Channels'concepts and allow you to successfully integrate the Channels fra ...
Posted on Fri, 10 May 2019 13:52:44 -0700 by BigTime
Enter the virtual environment (different virtual environments are created, different ways of entry)
pip install celery==3.1.25 (take celery installation as an example, other installation methods are the same)
windows 10 (windows is not supported after ...
Posted on Tue, 29 Jan 2019 16:45:14 -0800 by ven0mblade