Skip to main content

A simple django admin extension that shows when your periodic are going to run next

Project description

Django Celery Beat Status

PyPI - Version Supported Python Versions Supported Django Versions Build Status Coverage Status

A library that integrates with django admin and shows in a simple GUI when your periodic are going to run next.

Instalation

pip install django-celerybeat-status

Configuration

  1. Add "celerybeat_status" to your INSTALLED_APPS variable in django settings
INSTALLED_APPS = [
  ...
  "celerybeat_status",
]
  1. Create a url for the status check view
from django.urls import include, path

urlpatterns = [
  # other urls...
  path("admin/statuscheck/", include("celerybeat_status.urls")),  # celerybeat_status admin
  path("admin/", admin.site.urls),  # django admin
]

Usage

Check your tasks under /admin/statuscheck/periodic-tasks/ (if you configured your urls the way we suggested in this docs).

You can also find a link in /admin sidebar.

How you admin page will look like:

admin-page

How your tasks will be shown:

tasks-page

Contributing

Setting up the development environment

  1. Clone the repository.

  2. Create a virtual environment.

  3. Install the dependencies.

pip install -r requirements_test.txt
  1. Run the project. Relevant to check UI changes.
# Create the database and run the migrations.
python manage.py migrate
# Create a superuser. This will allow you to access the admin interface.
python manage.py createsuperuser
# Start the development server. You can view the application by navigating to the URL provided in the terminal.
python manage.py runserver
  1. Run the tests. This package uses tox to run tests on multiple evironments, please make sure they are passing before submitting a pull request.
tox

Commercial Support

This project, as other Vinta open-source projects, is used in products of Vinta clients. We are always looking for exciting work, so if you need any commercial support, feel free to get in touch: contact@vinta.com.br

Copyright (c) 2017 Vinta Serviços e Soluções Tecnológicas Ltda

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_celerybeat_status-1.0.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

django_celerybeat_status-1.0.1-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_celerybeat_status-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django_celerybeat_status-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4ec1ef69d982cea9b1d5fef5cdb6589758b194489dff48a4b139c15cf8049a90
MD5 9565c5327abf3d17893cd8b7f78485f9
BLAKE2b-256 149b0985ebf296733b1fb1ff093eb8c7bee69535062fe206db4d90b6893d2a8a

See more details on using hashes here.

Provenance

File details

Details for the file django_celerybeat_status-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_celerybeat_status-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7051440ae7b85fa6d139d664da2cd31c2b67d97780071205b2df45ceed0dd471
MD5 2a2637f8e2a40387ec66c47924b63229
BLAKE2b-256 6956d6ac0077c48ead634f19210c3d680f9eb41be737c06ed5b4cd3b6b9a5008

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page