Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
331 stars 77 forks source link

Use django's utilities to detect tasks submodule #2

Closed rakanalh closed 6 years ago

rakanalh commented 6 years ago

I noticed that you require tasks.py to be present while some people, including myself, might create a directory as a python module containing tasks in separate files. This solves this issue by checking the existence of a submodule rather than a file.

Bogdanp commented 6 years ago

Awesome, thank you! I merged this with rebase in https://github.com/Bogdanp/django_dramatiq/commit/ac5ae2d1e852531f3e839408a730a47e9b488718 and released the change as 0.1.2.