summaryrefslogtreecommitdiffstats
path: root/forum/admin.py
diff options
context:
space:
mode:
authorJoseph Turian <turian@gmail.com>2010-02-07 23:55:58 -0500
committerJoseph Turian <turian@gmail.com>2010-02-07 23:55:58 -0500
commitb2d9fb47fd657d2da515d7bb88bcc0fb2a9b5785 (patch)
tree5362bd0944587a13a7fec4da03ea0b17b349f278 /forum/admin.py
parent1fd403ac94f5ba752ad8677a7d43e57f832cdb8b (diff)
downloadaskbot-b2d9fb47fd657d2da515d7bb88bcc0fb2a9b5785.tar.gz
askbot-b2d9fb47fd657d2da515d7bb88bcc0fb2a9b5785.tar.bz2
askbot-b2d9fb47fd657d2da515d7bb88bcc0fb2a9b5785.zip
Moved apps back into base dir
Diffstat (limited to 'forum/admin.py')
-rw-r--r--forum/admin.py74
1 files changed, 74 insertions, 0 deletions
diff --git a/forum/admin.py b/forum/admin.py
new file mode 100644
index 00000000..482da048
--- /dev/null
+++ b/forum/admin.py
@@ -0,0 +1,74 @@
+# -*- 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)