Fixing ui for non categorized tag selected
[prawokultury.git] / questions / admin.py
index 7d81a20..6427bbc 100755 (executable)
@@ -1,5 +1,5 @@
 from django.contrib import admin
-from .models import Question
+from .models import Question, Tag, TagCategory
 
 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,5 @@ class QuestionAdmin(admin.ModelAdmin):
 
 
 admin.site.register(Question, QuestionAdmin)
+admin.site.register(Tag)
+admin.site.register(TagCategory)