X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/af3e9caaf16b84899e825608d97d84431d8e9454..fceff8de9a4a304549e5b4b3094f66071b9912ae:/questions/admin.py diff --git a/questions/admin.py b/questions/admin.py index 7d81a20..ec6d715 100755 --- a/questions/admin.py +++ b/questions/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from .models import Question +from .models import Question, Tag class QuestionAdmin(admin.ModelAdmin): model = Question @@ -13,6 +13,7 @@ class QuestionAdmin(admin.ModelAdmin): 'approved', 'edited_question', 'answer', + 'tags', ('answered', 'answered_at'), ('published', 'published_at'), @@ -21,3 +22,4 @@ class QuestionAdmin(admin.ModelAdmin): admin.site.register(Question, QuestionAdmin) +admin.site.register(Tag)