Django-background-tasks

Latest version: v1.2.5

Safety actively analyzes 628919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.1.6

* Improved overall performance and stability
* Fixed DB race conditions during multi threading
* Improved admin site by adding the following attributes to list_display
* has_error: shows whether an error occurred when running a task
* locked_by
* locked_by_pid_running: shows whether the locked_by PID is sill running
* Improved thread pool scheduling

1.1.0rc3

- add related_name to Tasks. creator_content_type ForeignKey

1.1.0rc2

- Standardize logging:
- Raise log level of task failures from `WARNING` to `ERROR`
- Use logging as recommended in https://docs.djangoproject.com/en/stable/topics/logging/
- Remove `log-file` and `log-level` options from management command `process_tasks`. Please use the django [`LOGGING`](https://docs.djangoproject.com/en/stable/topics/logging/configuring-logging) setting instead

1.1.0rc1

Model changes (please make migrations and migrate when updating):
- Add `verbose_name`, `creator`, `repeat`, and `repeat_until` fields to `Task` and `CompletedTask`

Additional changes:
- Implement Task repetition; see https://github.com/arteria/django-background-tasksrepeating-tasks
- Add priority parameter to decorator
- Extend `Task` and `CompletedTask` managers
- The current LTS version of django (1.8.*) is now also tested with the `BACKGROUND_TASK_RUN_ASYNC = True` setting.

1.0.15

- Fix management command options `--log-file` and `--log-std`

1.0.14

- Legacy "autodiscover" function: Ignore apps that are installed via `AppConfig` path
- Avoid `UnicodeDecodeError` in setup.py for some locales

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.