Skip to main content

Allow running Django management commands at the ease of your admin panel

Project description

A super simple library to allow admins to run Django management commands at panel. This saves admins from the hassle of ssh’ing into the servers, also gives more auditability since all the runtimes, commands, and outputs will be captured in the admin panel.

To understand the design decisions you can read the following blog posts where I justify the need for these cases.

https://eralpbayraktar.com/blog/django/2022/

Getting It

$ pip install django-admin-commands

Usage

Add admincommands to your INSTALLED_APPS in settings.py.

Run ./manage.py migrate to have the CommandRunInstance created in your database.

(Optional) Allow granular access who can run/delete/view command run instances using Django’s permissions system.

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-admin-commands-1.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-admin-commands-1.0.tar.gz.

File metadata

  • Download URL: django-admin-commands-1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for django-admin-commands-1.0.tar.gz
Algorithm Hash digest
SHA256 4513977375b15f6512d719dba7ba15b45c14fe807869cab46f85a659d7362a44
MD5 fa3f2bc10e6d21ded8ffd4805069fab3
BLAKE2b-256 e3f11515182ce116c933f573749037f535b9435c9a3c55671bcb4dc9f449f83c

See more details on using hashes here.

Supported by

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