Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Project Description

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.

Quick start

  1. Download it from PyPi with pip install django-admin-display-fields-settings

  2. Add “admin_display_fields_settings” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'admin_display_fields_settings',
    )
    
  3. 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'))
    
  4. Run python manage.py syncdb or python manage.py migrate to create the admin_display_fields_settings models.

  5. 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)
    

Example

Release History

Release History

This version
History Node

0.1.8

History Node

0.1.7

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-admin-display-fields-settings-0.1.8.tar.gz (80.4 kB) Copy SHA256 Checksum SHA256 Source Nov 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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