Django Command Form
This package allows you to execute commands from DjangoAdmin.
Getting Started
$ pip install django-command-form
In your settings.py, add django_command_form to INSTALLED_APPS.
INSTALLED_APPS = [
...
'django_command_form',
]
In your models.py, create a class that inherits CommandModel.
The class name is displayed as the name of the list in DjangoAdmin.
from django_command_form.models import CommandModel
class Command(CommandModel):
class Meta:
proxy = True
Then, in admin.py, register the model with CommandAdmin.
from django_command_form.admin import CommandAdmin
admin.site.register(Command, CommandAdmin)
Compatible Django Version
| Compatible Django Version | Specifically tested |
|---|---|
4.0 |
:heavy_check_mark: |
4.1 |
:heavy_check_mark: |
4.2 |
:heavy_check_mark: |
5.0 |
:heavy_check_mark: |
5.1 |
:heavy_check_mark: |
Metadata
Release files for django-command-form 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_command_form-0.0.5.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_command_form-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 kB
Release files / django_command_form-0.0.5.tar.gz
| Download URL | django_command_form-0.0.5.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07b4ada4f1c76c1701d35b36483fb64ad82245a8edbeda199a4d70c81dd33922
|
|
BLAKE2b-256 checksum How to use checksums |
4434d3b71f13ab3eb9c22f9ee0e095bab8060cc4a4ade0ed62587c35167b54d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.6
|
Release files / django_command_form-0.0.5-py3-none-any.whl
| Download URL | django_command_form-0.0.5-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ee10878598bed06f0eeb9db140b6e2970e51843427f709eb2ab24ea446ee348
|
|
BLAKE2b-256 checksum How to use checksums |
a8876a3d0cd4805a9eba41d2246dee612e4eb3b813d3d2c78fb20e303f5925cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.6
|