class QuestionAdmin(admin.ModelAdmin):
model = Question
list_filter = ('approved', 'answered', 'published')
list_display = ('question', 'email', 'created_at', 'approved', 'answered', 'published')
date_hierarchy = 'created_at'
class QuestionAdmin(admin.ModelAdmin):
model = Question
list_filter = ('approved', 'answered', 'published')
list_display = ('question', 'email', 'created_at', 'approved', 'answered', 'published')
date_hierarchy = 'created_at'