Mercurial > public > bravenewsurf
view bns_website/bands/admin.py @ 52:12a39a6f5247 bands-experimental-ui
This is a simple change to just make every band it's own hero box. Next up is to try the slider box approach.
author | Chris Ridgway <ckridgway@gmail.com> |
---|---|
date | Sun, 13 Nov 2011 21:20:13 -0600 |
parents | 5348d2235497 |
children |
line wrap: on
line source
""" Automatic admin definitions for the models in the bands application. """ from django.contrib import admin from bands.models import Band class BandAdmin(admin.ModelAdmin): list_display = ['name', 'url', 'order'] list_editable = ['order'] admin.site.register(Band, BandAdmin)