Skip to main content

Django related examples/tricks/modules for uWSGI.

Project description

Django related examples/tricks/modules for uWSGI.

  • Free software: MIT license

Installation

pip install django-uwsgi-admin

You can also install the in-development version with:

pip install https://github.com/ionelmc/django-uwsgi-admin/archive/master.zip

Documentation

https://django-uwsgi-admin.readthedocs.io/

Screenshots

django-debug-toolbar panel

https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot1.png

Wagtail admin interface:

https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot2.png

django.contrib.admin interface

https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot3.png https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot4.png https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot5.png https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot6.png https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot7.png https://github.com/ionelmc/django-uwsgi-admin/raw/master/docs/screenshots/screenshot8.png

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

2.0.1 (2023-01-13)

  • UwsgiWorkersPanel no longer tries to generate stats if there’s no uwsgi.

2.0.0 (2023-01-12)

  • Removed the decorators module, something that only existed to avoid installing a separate package. Instead you should install the updated uwsgidecorators package.

  • Removed django_uwsgi.template.Loader (and the whole module) as it was broken and pretty hard to test without a custom build of uWSGI.

  • Split all sections in the Status page into seperate admin pages: Actions, Applications, Jobs, Magic Table, Options, Status and Workers.

  • Removed the old django debug toolbar and replaced with 2 new panes:

    • django_uwsgi.panels.UwsgiWorkersPanel

    • django_uwsgi.panels.UwsgiActionsPanel

1.0.0 (2023-01-10)

  • Removed the runuwsgi management command as it was very broken. Yes, I’ve looked at django-uwsgi-ng (another fork, which has lots of changes for that command) and it’s still pretty unusable in general (expects a certain project layout, and still generates weird if not broken configuration).

    Instead you should own your uWSGI configuration and not lets some tool generate it for you as some of the options have high impact on the behavior and performance of uWSGI.

  • Fixed stats page title.

  • Made clear cache and reload actions be performed safely over POST requests (previously they were GET requests).

0.3.0 (2023-01-09)

Forked from https://github.com/unbit/django-uwsgi this adds:

  • Support for latest Django releases (3.2+).

  • A basic integration test suite.

  • Removed lots of old compat cruft.

  • Integrated the uWSGI stats pane directly in the Django admin. Adding urls manually is no longer necessary.

  • Removed the old wagtail-styled admin page (it was broken anyway).

Download files

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

Source Distribution

django-uwsgi-admin-2.0.1.tar.gz (537.8 kB view details)

Uploaded Source

Built Distribution

django_uwsgi_admin-2.0.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file django-uwsgi-admin-2.0.1.tar.gz.

File metadata

  • Download URL: django-uwsgi-admin-2.0.1.tar.gz
  • Upload date:
  • Size: 537.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for django-uwsgi-admin-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5d344d28c26dd5c3509c829a98951ebb48a095e0f4b539e36942389294566c7c
MD5 d1e75c2ac5c4df077da448b772859668
BLAKE2b-256 5ae892f88b8fd855c5f1c9bc734b1d263e0704e0d8fa5f5b4d1e6d3734561365

See more details on using hashes here.

File details

Details for the file django_uwsgi_admin-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_uwsgi_admin-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edc4bfb831da7765f79ace7fdaf371cb82a0b72c6a42f8fd19206ef6e435cb6b
MD5 89ffa55a3a5ff2df504302816afd6b1c
BLAKE2b-256 37bec18b4140db7d62b80dcdecfe4c7e07d8b42fc45396cf7713d4f425d93683

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