I'm trying to integrate Huey with Django where I'm almost done with the initial setting of app and everything with redis. Now when I'm running the actual .py file I'm getting an exception huey.exceptions.HueyException: xxxxxxx not found in TaskRegistry. I have followed all the steps mentioned in here but still no luck so far. Can someone please help and throw some light on what I'm missing or if something is wrong. Thanks in advance.
Below is my code and app settings:
schedule_task.py
settings.py
Command which I'm using to run the schedule_task.py
python manage.py shell < hueyTasks/schedule_task.py




Your consumer isn't finding your tasks. Assuming that you've added
'huey.contrib.djhuey'toINSTALLED_APPSinsettings.pyas described in the docs, the likely issue is that you've named your task containing file something other thantasks.py, which is what Huey's Django integration relies on for auto-discovery:Alternatively, you can eschew the auto-discovery feature, but then you have to restructure your code a little bit. See docs for details. My recommendation is that you just rename your file
tasks.py.