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 ModelAdmin for the lazy.

Project Description

Django’s default ModelAdmin is kinda dull. It only displays the __unicode__ column and that’s it. SmartAdmin attempts to create some more useful defaults for list_display, list_filter, etc., based on the model. (You can still manually specify whatever you want of course.)

This may be useful to you if you create new models often and want to have a usable admin for them without much work.

Installation

pip install django-smartadmin

Usage

Just use smartadmin.SmartAdmin instead of django.contrib.admin.ModelAdmin:

from smartadmin import SmartAdmin

class MyModelAdmin(SmartAdmin):
    pass  # or override something

admin.site.register(MyModel, MyModelAdmin)

# or just:

admin.site.register(MyModel, SmartAdmin)
Release History

Release History

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

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-smartadmin-0.0.5.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Jul 12, 2013

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