Skip to main content

An app that provides Django admin for ARQ

Project description

ARQ Django admin

codecov pypi versions

Django admin dashboard for arq. ARQ Django admin is a simple app that allows you to configure your queues in django's settings.py and show them in your admin dashboard.

Installation

pip install arq-django-admin
  • Add arq_admin to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
    'arq_admin',
    # other apps
)

Make sure you added it before django.contrib.admin, otherwise you won't be able to see a link in the top right corner.

  • Configure your queues in Django's settings.py:
from arq.connections import RedisSettings
from arq.constants import default_queue_name


ARQ_QUEUES = {
    default_queue_name: RedisSettings(
        host='localhost',
        port=6379,
        database=0,
    ),
    'arq:another_queue_name': RedisSettings(),
}
  • Include arq_admin.urls in your urls.py:
from django.urls import include, path


urlpatterns = [
    # <...>
    path('arq/', include('arq_admin.urls')),
]
  • If you use custom job serializer, you need to add deserializer to settings.py:
ARQ_DESERIALIZER = custom_job_deserializer

Project details


Download files

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

Files for arq-django-admin, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size arq_django_admin-0.1.2-py3-none-any.whl (10.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size arq-django-admin-0.1.2.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page