from django.contrib import admin from .models import Gig class GigAdmin(admin.ModelAdmin): list_display = ('title', 'status', 'payment_status', 'invoice_date', 'payment', 'publisher', 'pub_date', 'created') list_filter = ('publisher', 'status', 'payment_status') fieldsets = ( ('Gig', { 'fields': ( 'title', 'pitch', ('payment', 'pay_type'), ('status', 'pub_date', 'payment_status', 'invoice_date'), 'publisher', 'pub_item' ), 'classes': ( 'show', 'extrapretty', 'wide' ) } ), ) admin.site.register(Gig, GigAdmin)