X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..1270fca13da4f47863330f009275838bde5c58e6:/forum/admin.py diff --git a/forum/admin.py b/forum/admin.py index 88643b9..c327ff8 100644 --- a/forum/admin.py +++ b/forum/admin.py @@ -1,50 +1,49 @@ # -*- 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""" +#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""" @@ -55,20 +54,13 @@ class ActivityAdmin(admin.ModelAdmin): #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(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)