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
Hashes for django-admin-commands-0.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 485abc1b592302569537e07d8f23c10c9dd0a67c17338b5f1d87775aa4bbf4a1 |
|
MD5 | 9c44f58dea985143f7bb4303ba189e38 |
|
BLAKE2b-256 | c50b656df6b38ea4d219c9e4c93820cee9837282442d17cdedda0b24921b4820 |