Package madrona :: Package simplefaq :: Module admin
[hide private]

Source Code for Module madrona.simplefaq.admin

 1  from django.contrib import admin 
 2  from madrona.simplefaq.models import Faq, FaqGroup 
 3   
4 -class FaqAdmin(admin.ModelAdmin):
5 search_fields = ('question', 'answer') 6 list_display = ('question','importance','faq_group')
7 8 admin.site.register(Faq,FaqAdmin) 9 admin.site.register(FaqGroup) 10