Skip to main content

Django Commander

Run Django manage.py commands from the web. This is mainly useful in situations where you can't easily SSH into your host. For example, if you use azf-wsgi to run Django on Azure Functions.

Configuration

  1. Add commander to your INSTALLED_APPS.
  2. Add COMMANDER_KEY to your settings. This should be a reasonably secure key, which you'll use in lieu of real authentication 😱
  3. from commander import commander_urls and add path('commander/', commander_urls), to your URLconf.
  4. Navigate to http://yourserver/yourapp/commander/?key={COMMANDER_KEY}.
  5. Do whatever config you need to do.
  6. Change COMMANDER_KEY explicitly to None to disable management 😌

Contributing

Contributions welcome. Be kind to one another.

To develop locally, first make a virtualenv. Then cd into dev/ and pip install -e ../src. Then pip install django and off you go.

Metadata

Release files for django-commander 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-commander 0.1.1
File Size Uploaded Provenance Actions
django-commander-0.1.1.tar.gz 4.7 kB Without provenance Details for django-commander-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-commander 0.1.1
File Interpreter ABI Platform Actions
django_commander-0.1.1-py3-none-any.whl Python 3 none any Details for django_commander-0.1.1-py3-none-any.whl

Total release size: 11.9 kB

Release files / django-commander-0.1.1.tar.gz

Download URL django-commander-0.1.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e3d5d57ce5719b37e0853e3dba58f9ef14eba62cfda1fd86d50cf08b1b721c4
BLAKE2b-256 checksum
How to use checksums
954429669ccde72478a2d7a7fbc12b0b3baaf0abc74e25487db222fd0ea16d28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release files / django_commander-0.1.1-py3-none-any.whl

Download URL django_commander-0.1.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23c853a5cb8f568950cf38014d6794c89c54463f38767d8130087b6d4c25e58b
BLAKE2b-256 checksum
How to use checksums
091d8abc206f5c9701b09b9e3d735e6bd38a58eaa0cd6323feca28460c4e993b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Security for django-commander 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page