Merge branch 'lqc-trunk' of git@stigma:platforma into lqc-trunk
[redakcja.git] / apps / explorer / admin.py
1 from django.contrib import admin
2
3 import explorer.models
4 from explorer import forms
5
6 admin.site.register(explorer.models.EditorSettings)
7 admin.site.register(explorer.models.EditorPanel)
8
9 class GalleryAdmin(admin.ModelAdmin):
10     form = forms.GalleryChoiceForm
11     list_display = ('document', 'subpath',)
12     search_fields = ('document', 'subpath',)
13
14 admin.site.register(explorer.models.GalleryForDocument, GalleryAdmin)