fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handling special case with zero clicks
[prawokultury.git]
/
questions
/
admin.py
diff --git
a/questions/admin.py
b/questions/admin.py
index
9db5ff7
..
6427bbc
100755
(executable)
--- a/
questions/admin.py
+++ b/
questions/admin.py
@@
-1,5
+1,5
@@
from django.contrib import admin
from django.contrib import admin
-from .models import Question
+from .models import Question
, Tag, TagCategory
class QuestionAdmin(admin.ModelAdmin):
model = Question
class QuestionAdmin(admin.ModelAdmin):
model = Question
@@
-22,3
+22,5
@@
class QuestionAdmin(admin.ModelAdmin):
admin.site.register(Question, QuestionAdmin)
admin.site.register(Question, QuestionAdmin)
+admin.site.register(Tag)
+admin.site.register(TagCategory)