diff options
author | Adolfo Fitoria <fitoria@fitoria-laptop.(none)> | 2009-08-08 21:33:09 -0600 |
---|---|---|
committer | Adolfo Fitoria <fitoria@fitoria-laptop.(none)> | 2009-08-08 21:33:09 -0600 |
commit | 0a2a07e2ff1aac4d1ffaa45a8f587264a99f21a6 (patch) | |
tree | c2dbeaf9ee8d663379324935cbab11e5c48dd517 /forum/admin.py | |
parent | e9f58c4b384e621aadc1f44e891147825bac2bd7 (diff) | |
download | askbot-0a2a07e2ff1aac4d1ffaa45a8f587264a99f21a6.tar.gz askbot-0a2a07e2ff1aac4d1ffaa45a8f587264a99f21a6.tar.bz2 askbot-0a2a07e2ff1aac4d1ffaa45a8f587264a99f21a6.zip |
adding category to questions
Diffstat (limited to 'forum/admin.py')
-rw-r--r-- | forum/admin.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/forum/admin.py b/forum/admin.py index 482da048..c326a034 100644 --- a/forum/admin.py +++ b/forum/admin.py @@ -13,6 +13,9 @@ class QuestionAdmin(admin.ModelAdmin): class TagAdmin(admin.ModelAdmin): """Tag admin class""" +class CategoryAdmin(admin.ModelAdmin): + """Category admin class""" + class Answerdmin(admin.ModelAdmin): """Answer admin class""" @@ -58,6 +61,7 @@ class BookAuthorRssAdmin(admin.ModelAdmin): admin.site.register(Question, QuestionAdmin) admin.site.register(Tag, TagAdmin) +admin.site.register(Category, CategoryAdmin) admin.site.register(Answer, Answerdmin) admin.site.register(Comment, CommentAdmin) admin.site.register(Vote, VoteAdmin) |