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.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.22.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

django_adminutils-0.0.22-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django_adminutils-0.0.22.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.10

File hashes

Hashes for django_adminutils-0.0.22.tar.gz
Algorithm Hash digest
SHA256 b030475f397f49e6748cc47c9d834f2849adf527f593a098cad2fed9156ba1a6
MD5 70a1b894b3a069ae936fdad40f14b7ce
BLAKE2b-256 7af2d6700ec969e948847013b9fb4fd83ef4e456751a155ba4d59432ac0edad5

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_adminutils-0.0.22-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 412474e74d09ce0cabdb7426505e37b44bcca28b7a154fd2f77b69274cf7417b
MD5 f45a0c70ff86a074695ef9a9dcbd54d1
BLAKE2b-256 596912ef3d1a55464e3c06447ff8bf38c2613fc5f3556e1751e267ac45e5253d

See more details on using hashes here.

Provenance

Supported by

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