basxsoftwareassociation / bread

Engine to create database applications based on Django and the IBM Carbon Design System
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

Add menu item "Background jobs" to menu group "Administration" #92

Closed saemideluxe closed 2 years ago

saemideluxe commented 2 years ago

We use Celery (https://docs.celeryproject.org/) in some projects. This allows us to run automated background jobs. We need a view where we can see results of background jobs. My suggestion is to register a new browse-view for TaskResult (see https://github.com/celery/django-celery-results/blob/master/django_celery_results/models.py) and then add a menu item to link to that view. A similar view exists already in the django-admin backend.

saemideluxe commented 2 years ago

Info: celery and django-celery-results are already installed as part of any bread project.

dward2nd commented 2 years ago

The BrowseView has been made a pull request in #98 . The additional functionalities may be added later.