DEV Community

Discussion on: Happy birthday Django! 🎂

 
zubairmohsin33 profile image
Zubair Mohsin

In Laravel we have Job classes which we dispatch. But in django-rq, it seems like it's only possible with functions.

Thread Thread
 
rhymes profile image
rhymes

If there's one thing I learned by using multiple programming languages in my career is not to try to bend one framework to be similar to another. Just embrace it :-)

Django is (mostly) function based, I think it's normal that django-rq is as well.

Are you having specific issues/limitations with using django-rq as is?

Thread Thread
 
zubairmohsin33 profile image
Zubair Mohsin

No not really. A Django codebase has just been thrown at me 😅
There's a module which sends number of emails so I thought why not do it in background.
Right now, I am just trying to figure out things using Laravel knowledge and googling.

Thread Thread
 
rhymes profile image
rhymes

Good luck :)

Thread Thread
 
zubairmohsin33 profile image
Zubair Mohsin

Thank you 🙏