Django application. It adds a column view control form into admin area. You can choose which fields to display and sort them in the correct order for you. Possible fields for display are taken from list_display
. To sort the fields just drag the field into place.
Any user can choose to display the column for yourself!
Download it from PyPi with
pip install django-admin-display-fields-settings
Add "admin_display_fields_settings" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'admin_display_fields_settings', )
Include the admin_display_fields_settings URLconf in your project urls.py like this:
url(r'^admin_display_fields_settings/', include('admin_display_fields_settings.urls'))
Run
python manage.py syncdb
orpython manage.py migrate
to create the admin_display_fields_settings models.In your admin.py:
from django.contrib import admin from polls.models import MyModel from admin_display_fields_settings.admin import DisplayFieldsSettingsAdmin class MyModelAdmin(DisplayFieldsSettingsAdmin): list_display = ('question', 'pub_date', 'was_published_recently', 'full_name', '__str__', '__unicode__') admin.site.register(MyModel, MyModelAdmin)