summaryrefslogtreecommitdiffstats
path: root/forum/admin.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-05 22:50:08 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-05 22:50:08 -0400
commit56f02677940a00f04780cfb361fc65950e910bf8 (patch)
tree47b577eb5ccd4dcf662a8c44e3201150048c871b /forum/admin.py
parentb1e66ad9cc9ba1010fffb5259262464ed7635c2b (diff)
downloadaskbot-56f02677940a00f04780cfb361fc65950e910bf8.tar.gz
askbot-56f02677940a00f04780cfb361fc65950e910bf8.tar.bz2
askbot-56f02677940a00f04780cfb361fc65950e910bf8.zip
added anonymous posting, per-question subscription and fixes by Pothers and some more, see development.log
Diffstat (limited to 'forum/admin.py')
-rw-r--r--forum/admin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/forum/admin.py b/forum/admin.py
index 438a99e7..482da048 100644
--- a/forum/admin.py
+++ b/forum/admin.py
@@ -4,6 +4,9 @@ from django.contrib import admin
from models import *
+class AnonymousQuestionAdmin(admin.ModelAdmin):
+ """AnonymousQuestion admin class"""
+
class QuestionAdmin(admin.ModelAdmin):
"""Question admin class"""
@@ -68,4 +71,4 @@ 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) \ No newline at end of file
+admin.site.register(BookAuthorRss, BookAuthorRssAdmin)