summaryrefslogtreecommitdiffstats
path: root/forum/admin.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-05 22:49:44 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-05 22:49:44 -0400
commit026541b6a70cd183d49ffec205232cfb0b205b25 (patch)
tree53397ba83b39bbfc9d567840b68c251e6cdd8d2f /forum/admin.py
parent146b90ec874a4f3eee0a31902a90e4c2d89bc729 (diff)
downloadaskbot-026541b6a70cd183d49ffec205232cfb0b205b25.tar.gz
askbot-026541b6a70cd183d49ffec205232cfb0b205b25.tar.bz2
askbot-026541b6a70cd183d49ffec205232cfb0b205b25.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)