admin.py 1.71 KB
Newer Older
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
# -*- coding: utf-8 -*-

#from django.contrib import admin
#from models import *
#
#class AnonymousQuestionAdmin(admin.ModelAdmin):
#    """AnonymousQuestion admin class"""
#
#class NodeAdmin(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 ActionAdmin(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(Node, NodeAdmin)
#admin.site.register(Tag, TagAdmin)
#admin.site.register(QuestionRevision, QuestionRevisionAdmin)
#admin.site.register(AnswerRevision, AnswerRevisionAdmin)
#admin.site.register(Badge, BadgeAdmin)
#admin.site.register(Award, AwardAdmin)
#admin.site.register(Action, ActionAdmin)
#admin.site.register(Book, BookAdmin)
#admin.site.register(BookAuthorInfo, BookAuthorInfoAdmin)
#admin.site.register(BookAuthorRss, BookAuthorRssAdmin)