<s> """<STR_LIT>""" <EOL> from django . contrib import admin <EOL> from cms . admin . placeholderadmin import PlaceholderAdminMixin <EOL> from filer . admin . imageadmin import ImageAdmin <EOL> from . import models <EOL> class GalleryAdmin ( PlaceholderAdminMixin , admin . ModelAdmin ) : <EOL> """<STR_LIT>""" <EOL> list_display = ( '<STR_LIT:title>' , '<STR_LIT:date>' , '<STR_LIT:location>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> list_filter = [ '<STR_LIT>' , ] <EOL> class GalleryCategoryAdmin ( admin . ModelAdmin ) : <EOL> """<STR_LIT>""" <EOL> list_display = ( '<STR_LIT:name>' , '<STR_LIT>' ) <EOL> class GalleryImageInline ( admin . TabularInline ) : <EOL> model = models . GalleryImageExtension <EOL> admin . site . register ( models . GalleryCategory , GalleryCategoryAdmin ) <EOL> admin . site . register ( models . Gallery , GalleryAdmin ) <EOL> ImageAdmin . inlines = ImageAdmin . inlines [ : ] + [ GalleryImageInline ] </s>
