Skip to main content
=========================================
django-sortedm2m-filter-horizontal-widget
=========================================

``sortedm2m-filter-horizontal-widget`` is an admin widget for Gregor Mülleggers excellent django-sortedm2m_ library.

.. _django-sortedm2m: http://github.com/gregmuellegger/django-sortedm2m

This allows for a familiar filter horizontal widget.

Usage
=====

Add ``sortedm2m-filter-horizontal-widget`` to your ``INSTALLED_APPS``. (needed for static files)

In your ``ModelAdmin`` add the following function to override the default widget.

def formfield_for_manytomany(self, db_field, request=None, **kwargs):
if db_field.name == 'sortedm2m_field_name':
kwargs['widget'] = SortedFilteredSelectMultiple()

Metadata

Release files for django-sortedm2m-filter-horizontal-widget 0.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-sortedm2m-filter-horizontal-widget 0.1
File Size Uploaded Provenance Actions
django-sortedm2m-filter-horizontal-widget-0.1.tar.gz 10.8 kB Without provenance Details for django-sortedm2m-filter-horizontal-widget-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-sortedm2m-filter-horizontal-widget 0.1
File Interpreter ABI Platform Actions
django_sortedm2m_filter_horizontal_widget-0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for django_sortedm2m_filter_horizontal_widget-0.1-py2.py3-none-any.whl

Total release size: 24.0 kB

Release files / django-sortedm2m-filter-horizontal-widget-0.1.tar.gz

Download URL django-sortedm2m-filter-horizontal-widget-0.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
45a04a956835cf22c2136a8adbcddb1ad4ce39d026e15edb1e2b7321e4cd823b
BLAKE2b-256 checksum
How to use checksums
1a9e8036aaa6904b8eec877a120a19297e842e331e35052f8cfb80b5f502c53f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_sortedm2m_filter_horizontal_widget-0.1-py2.py3-none-any.whl

Download URL django_sortedm2m_filter_horizontal_widget-0.1-py2.py3-none-any.whl
Size 13.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
33fc2f542cc5a79d38136e86f22e36af2ca7869c3435f99204ba359c8ce0346b
BLAKE2b-256 checksum
How to use checksums
c2bb3f12cfa24d0597f3e583eb3beaac4e4be5a5cd519376a5766f9ad6051d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-sortedm2m-filter-horizontal-widget 0.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.

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