Comments (2)
The autodiscover
method seems to be legacy code from the original project, and I am not sure whether it contributes anything meaningful.
From version 1.0.14
, the ImportError
is caught and ignored (which implies that apps that are installed via AppConfig
path are not "autodiscovered" anymore).
from django-background-tasks.
I don't understand this...my app was configured with an apps.Config file in INSTALLED_APPS and so process_task silently failed until I finally just looked at the source for autodiscover(). Shouldn't this be in the docs somewhere? If tasks are in the db but can't be imported, shouldn't there be some kind of logging error or visible failure somewhere?
from django-background-tasks.
Related Issues (20)
- Tasks not found when app is configured using confg class HOT 2
- Async Background still runs tasks linearly instead of Parallel HOT 2
- Run tasks individually
- best way to start repeating tasks and question about failing
- manage.py process_tasks not picking tasks w Django 3.2 HOT 2
- What happens if I add multiple process_tasks workers?
- BACKGROUND_TASK_RUN_ASYNC = True not working
- Not supported in Django 4.0 HOT 4
- Repeatedly get 'Failed to retrieve tasks. Database unreachable.' error message.
- Change "has error" to "successful" for UI
- Tasks Run Multiple Times because of Error
- Add individual `max_run_time`option at task level.
- Is this project still maintained? HOT 3
- Do I need to run process_tasks to start tasks? HOT 3
- Does django background tasks slow down my site? HOT 1
- ModuleNotFoundError: No module named 'background-task'
- Background task running twice. HOT 2
- CHANGE DEFAULT DB CONNECTION
- How can I detect the task errors?
- does not work anymore in Python 12 HOT 5
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-background-tasks.