view bns_website/bands/admin.py @ 75:b4c5b04c4209

Fix some validation problems (extra </div>, "px" in image size & width). Made the headlines bigger. Ferenc didn't want the track listing centered over the 2 columns.
author Brian Neal <bgneal@gmail.com>
date Wed, 23 Nov 2011 21:14:49 -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)