Skip to main content

Utilities to make working with the Django admin nicer.

Project description

django-adminutils

Utilities to make developing with the Django admin a better experience.

Development

To release:

  • Ensure everything is committed.

  • Ensure the HISTORY.rst and the __init__.py files are up to date with information about the release.

  • Run python setup.py publish

  • Tag the release in git and push the tag: git tag X.Y.Z && git push –tags.

History

0.0.28 - 2025-06-12

  • Make request threadlocal work also with async servers (e.g. uvicorn).

0.0.27 - 2025-06-11

  • Fix media handling possibly causing duplication of media links.

0.0.26 - 2025-06-08

  • Revamp handling of the request threadlocal. Will not require changes to the admin site or manual decoration of views.

  • Added utility methods to handled filters preservation.

0.0.25 - 2025-06-05

  • Add a rendered_field decorator that passes the returned context to a template and renders it to a string.

  • Support passing multiple forms to form_processing_action.

0.0.24 - 2025-05-24

  • Allow to pass queryset to forms when using form_processing_action.

  • Correctly pass admin-wide media files to template when using form_processing_action.

0.0.23 - 2025-02-13

  • Properly include forms media in generic admin form action template.

  • Redirect form actions to detail view if takes_object=True.

0.0.22 - 2024-10-10

  • Let the form_processing_action decorator also support pure Django changelist actions.

  • Support multiple Django admin sites in form_processing_action.

  • Wrap the form fields in the default template used by form_processing_action in a block named formfields.

  • form_processing_action now also passes the object or queryset as second argument to the decorated actions.

0.0.21 - 2024-09-18

  • Add ability to hide button in the UI.

  • Update styles and HTML for Django 5.

0.0.20 - 2024-09-14

  • Support arguments to the object_action decorator.

  • Allow the buttons to be hidden from the admin interface.

0.0.19 - 2024-09-13

  • Save the request object on the ModelAdmin instance (useful if needed when rendering fields).

0.0.18 - 2024-02-17

  • Add support for current_app when reversing admin URLs.

0.0.17 - 2023-09-06

  • Allow nullables in linked_relation chains.

0.0.16 - 2023-01-31

  • Improve validation of actions.

0.0.15 - 2022-12-23

  • Improved form actions.

0.0.14 - 2022-11-27

  • Release again as wheel is not built correctly.

0.0.13 - 2022-11-24

  • Do not make log_* functions available from the module namespace.

0.0.12 - 2022-11-24

  • Support custom action in admin_detail_link.

  • Use date widget also in DateRange fields.

  • Do not raise an error if easy_thumbnails is not installed and it is not used.

  • Nicer lists styling.

  • Add support for admin log entries.

0.0.11 - 2022-01-30

  • Drop support for Python 2.7.

  • Support Django 4.

  • Dropped six dependency.

  • Added pop_fields, EditOnlyInlineMixin, image_preview, and formatted_json utilities.

  • Code linting with black and isort.

0.0.10 - 2020-09-09

  • Remove AdminURLFieldWidget which has meanwhile been released upstream.

0.0.9 - 2020-09-09

  • Replace load staticfiles with load static.

0.0.8 - 2020-03-25

  • Make easy_thumbnails an optional dependency, again.

0.0.7 - 2020-03-16

  • Added a generic form processing action.

  • Add an option to not use forms to submit actions.

  • Compatibility with Django 2.

0.0.6 - 2017-12-02

  • Initial python 2 backport.

0.0.5 - 2017-12-02

  • Make easy_thumbnails an optional dependency.

0.0.4 - 2017-11-23

  • Fix manifest

0.0.3 - 2017-11-23

  • Initial release

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_adminutils-0.0.28.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_adminutils-0.0.28-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_adminutils-0.0.28.tar.gz.

File metadata

  • Download URL: django_adminutils-0.0.28.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_adminutils-0.0.28.tar.gz
Algorithm Hash digest
SHA256 0266771f1d21de4c281535e36f957d51fc1e83387e0a16bf2d488c496b73711b
MD5 c3422d484ee588f46082c94b225f1016
BLAKE2b-256 d33953e79be1997425227d5688f3b39570b69f288fa28065cb2afaf1b8eaa3c8

See more details on using hashes here.

File details

Details for the file django_adminutils-0.0.28-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_adminutils-0.0.28-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 67b2b8de9f8b8a2965844149a3655b122e8d59a81a5cedb87b45d344aee3cb58
MD5 d055d9e6247a13eebf9ae0fe8e773309
BLAKE2b-256 f18be4288e408d0b229818e787a753bc7f94ecf32c8f2ac48cbcabdb4ccd13ca

See more details on using hashes here.

Supported by

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