summaryrefslogtreecommitdiffstats
path: root/forum/admin.py
blob: 3afa224181b9d0abaa42478139d2e21273f1f174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-

from django.contrib import admin
from models import *

class AnonymousQuestionAdmin(admin.ModelAdmin):
    """AnonymousQuestion admin class"""

class QuestionAdmin(admin.ModelAdmin):
    """Question admin class"""

class TagAdmin(admin.ModelAdmin):
    """Tag admin class"""

class Answerdmin(admin.ModelAdmin):
    """Answer admin class"""

class CommentAdmin(admin.ModelAdmin):
    """  admin class"""

class VoteAdmin(admin.ModelAdmin):
    """  admin class"""

class FlaggedItemAdmin(admin.ModelAdmin):
    """  admin class"""

class FavoriteQuestionAdmin(admin.ModelAdmin):
    """  admin class"""

class QuestionRevisionAdmin(admin.ModelAdmin):
    """  admin class"""

class AnswerRevisionAdmin(admin.ModelAdmin):
    """  admin class"""

class AwardAdmin(admin.ModelAdmin):
    """  admin class"""

class BadgeAdmin(admin.ModelAdmin):
    """  admin class"""

class ReputeAdmin(admin.ModelAdmin):
    """  admin class"""

class ActivityAdmin(admin.ModelAdmin):
    """  admin class"""
    
#class BookAdmin(admin.ModelAdmin):
#    """  admin class"""
    
#class BookAuthorInfoAdmin(admin.ModelAdmin):
#    """  admin class"""
    
#class BookAuthorRssAdmin(admin.ModelAdmin):
#    """  admin class"""
    
admin.site.register(Question, QuestionAdmin)
admin.site.register(Tag, TagAdmin)
admin.site.register(Answer, Answerdmin)
admin.site.register(Comment, CommentAdmin)
admin.site.register(Vote, VoteAdmin)
admin.site.register(FlaggedItem, FlaggedItemAdmin)
admin.site.register(FavoriteQuestion, FavoriteQuestionAdmin)
admin.site.register(QuestionRevision, QuestionRevisionAdmin)
admin.site.register(AnswerRevision, AnswerRevisionAdmin)
admin.site.register(Badge, BadgeAdmin)
admin.site.register(Award, AwardAdmin)
admin.site.register(Repute, ReputeAdmin)
admin.site.register(Activity, ActivityAdmin)
#admin.site.register(Book, BookAdmin)
#admin.site.register(BookAuthorInfo, BookAuthorInfoAdmin)
#admin.site.register(BookAuthorRss, BookAuthorRssAdmin)