Skip to main content
django-admin-xtra-widgets
===============================================

Overview
------------------------------------
more widgets for the django admin


Quick start
------------------------------------
If you need the SelectAndLink widget
In settings.py, add 'admin_xtra_widgets' to the INSTALLED_APPS
In urls.py add ``(r'^admin-xtra-widgets/', include('admin_extra_widgets.urls'))`` to your urlpatterns

VerboseManyToManyRawIdWidget
------------------------------------
This widget adds a clickable text value to the usual raw_id widget. It indicates the current values of the field

In your admin

from admin_xtra_widgets.widgets import VerboseManyToManyRawIdWidget

class YourAdmin(admin.ModelAdmin):
#raw_id_fields = ["your_m2m_field"]

def formfield_for_dbfield(self, db_field, **kwargs):
if db_field.name in ('your_m2m_field', 'other_m2m_field'):
kwargs['widget'] = VerboseManyToManyRawIdWidget(db_field.rel, self.admin_site)
else:
return super(YourAdmin,self).formfield_for_dbfield(db_field,**kwargs)
kwargs.pop('request')
return db_field.formfield(**kwargs)



License
=======

django-favman is licensed under the GNU-LGPL

Metadata

Release files for django-admin-xtra-widgets 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-admin-xtra-widgets 0.1.1
File Size Uploaded Provenance Actions
django-admin-xtra-widgets-0.1.1.tar.gz 4.3 kB Without provenance Details for django-admin-xtra-widgets-0.1.1.tar.gz

Release files / django-admin-xtra-widgets-0.1.1.tar.gz

Download URL django-admin-xtra-widgets-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e04aa86009d597e4e7e252e3f2e9ae0ed9f347f8104fcab4051fb6283359bd3b
BLAKE2b-256 checksum
How to use checksums
ff602d41899b20bc763e9163d813ec18c3f1687623e067e7aa81886517c89e5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-admin-xtra-widgets 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

1 release file 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