Giter Club home page Giter Club logo

Comments (6)

selwin avatar selwin commented on May 27, 2024

@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.

saulshanabrook avatar saulshanabrook commented on May 27, 2024

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.

selwin avatar selwin commented on May 27, 2024

@saulshanabrook not yet, but I think it's a good idea to. I'll work on this later today :)

from django-rq.

saulshanabrook avatar saulshanabrook commented on May 27, 2024

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.

selwin avatar selwin commented on May 27, 2024

@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.

saulshanabrook avatar saulshanabrook commented on May 27, 2024

Works great! Awesome!

from django-rq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.