Merge pull request #651 from orangain/patch-1

Update outdated sample codes in README.md
main
Selwin Ong 9 years ago
commit 5b4c9e128c

@ -38,9 +38,10 @@ You do use the excellent [requests][r] package, don't you?
Then, create an RQ queue: Then, create an RQ queue:
```python ```python
from rq import Queue, use_connection from redis import Redis
use_connection() from rq import Queue
q = Queue()
q = Queue(connection=Redis())
``` ```
And enqueue the function call: And enqueue the function call:

Loading…
Cancel
Save