This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
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

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-admin-xtra-widgets-0.1.1.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Feb 26, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting