from django.contrib import admin
-from .models import Question
+from .models import Question, Tag, TagCategory
class QuestionAdmin(admin.ModelAdmin):
model = Question
'approved',
'edited_question',
'answer',
+ 'tags',
('answered', 'answered_at'),
('published', 'published_at'),
admin.site.register(Question, QuestionAdmin)
+admin.site.register(Tag)
+admin.site.register(TagCategory)