1 # -*- coding: utf-8 -*-
3 from django.contrib import admin
6 class AnonymousQuestionAdmin(admin.ModelAdmin):
7 """AnonymousQuestion admin class"""
9 class NodeAdmin(admin.ModelAdmin):
10 """Question admin class"""
12 class TagAdmin(admin.ModelAdmin):
15 class Answerdmin(admin.ModelAdmin):
16 """Answer admin class"""
18 class CommentAdmin(admin.ModelAdmin):
21 class VoteAdmin(admin.ModelAdmin):
24 class FlaggedItemAdmin(admin.ModelAdmin):
27 class FavoriteQuestionAdmin(admin.ModelAdmin):
30 class QuestionRevisionAdmin(admin.ModelAdmin):
33 class AnswerRevisionAdmin(admin.ModelAdmin):
36 class AwardAdmin(admin.ModelAdmin):
39 class BadgeAdmin(admin.ModelAdmin):
42 class ReputeAdmin(admin.ModelAdmin):
45 class ActionAdmin(admin.ModelAdmin):
48 #class BookAdmin(admin.ModelAdmin):
51 #class BookAuthorInfoAdmin(admin.ModelAdmin):
54 #class BookAuthorRssAdmin(admin.ModelAdmin):
57 admin.site.register(Node, NodeAdmin)
58 admin.site.register(Tag, TagAdmin)
59 admin.site.register(QuestionRevision, QuestionRevisionAdmin)
60 admin.site.register(AnswerRevision, AnswerRevisionAdmin)
61 admin.site.register(Badge, BadgeAdmin)
62 admin.site.register(Award, AwardAdmin)
63 admin.site.register(Action, ActionAdmin)
64 #admin.site.register(Book, BookAdmin)
65 #admin.site.register(BookAuthorInfo, BookAuthorInfoAdmin)
66 #admin.site.register(BookAuthorRss, BookAuthorRssAdmin)