Source

lindyjam / splash / admin.py

Full commit
1
2
3
4
5
6
7
8
9
from lindyjam.splash.models import SplashImage
from django.contrib import admin

class SplashImageAdmin(admin.ModelAdmin):
    list_display = ('image', 'height', 'width', 'photographer',)
    list_filter = ('photographer',)
    fields = ('image', 'photographer', 'credit_link',)

admin.site.register(SplashImage, SplashImageAdmin)