Comments (6)
@saulshanabrook I think it's better to support URL
argument. This way you don't need to import redis
in settings.py
.
RQ_QUEUES = {
'default': {
'URL': os.getenv('REDISTOGO_URL', 'redis://localhost:6379'),
},
}
from django-rq.
So you already support the URL argument? If so I feel very silly...
On Tuesday, September 4, 2012 at 9:41 PM, Selwin Ong wrote:
@saulshanabrook (https://github.com/saulshanabrook) I think it's better to support URL argument. This way you don't need to import redis in settings.py.
RQ_QUEUES = { 'default': { 'URL': os.getenv('REDISTOGO_URL', 'redis://localhost:6379'), }, }—
Reply to this email directly or view it on GitHub (#6 (comment)).
from django-rq.
@saulshanabrook not yet, but I think it's a good idea to. I'll work on this later today :)
from django-rq.
Awesome! Also, you just solved a problem I had with testing django with rq. I posted your nice testing example on http://stackoverflow.com/questions/11282346/best-practice-of-testing-django-rq-pythin-rq-in-django
Saul Shanabrook
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, September 4, 2012 at 10:11 PM, Selwin Ong wrote:
@saulshanabrook (https://github.com/saulshanabrook) no I haven't, but I think it's a good idea to. I'll work on this later today :)
—
Reply to this email directly or view it on GitHub (#6 (comment)).
from django-rq.
@saulshanabrook I just released 0.3.1 on PyPI and it now accepts URL
argument in settings.py
. Try it when you have the time and let me know if it works. Enjoy!
from django-rq.
Works great! Awesome!
from django-rq.
Related Issues (20)
- Regarding Logging
- django.core.exceptions.ImproperlyConfigured: Requested setting RQ_SHOW_ADMIN_LINK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. HOT 2
- Worker pool implementation
- job_timeout is not killing subprocess
- Separate RQScheduler into its own fake model
- RQ Job Terminated Unexpectedly HOT 2
- Allow Specifying Default Serializer for Django-RQ Queue HOT 2
- How to run django-rq worker via Webhook/API call HOT 1
- Django dumpdata will fail because of unmanaged model HOT 1
- KeyError accessing stats page HOT 2
- Error in job_detail.html at line 226 HOT 2
- Sentinel support broken since 2.9.0 HOT 5
- Add support for floating point intervals in rescheduler command HOT 1
- ValueError: Invalid attribute name/AttributeError: module has no attribute
- keys of command in MULTI calls must be in same slot HOT 1
- TypeError in job_detail.html with Python 12 HOT 3
- Database Errors When Running rqworker-pool HOT 14
- RQ WorkerPool is not loading models at all
- `get_scheduler` should support a custom connection
- Tag 2.10.2 on Git HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-rq.