]> git.openstreetmap.org Git - osqa.git/blob - forum/admin.py
removes a tab being created for new online users functionality. It wasn't ready yet
[osqa.git] / forum / admin.py
1 # -*- coding: utf-8 -*-
2
3 from django.contrib import admin
4 from models import *
5
6 class AnonymousQuestionAdmin(admin.ModelAdmin):
7     """AnonymousQuestion admin class"""
8
9 class NodeAdmin(admin.ModelAdmin):
10     """Question admin class"""
11
12 class TagAdmin(admin.ModelAdmin):
13     """Tag admin class"""
14
15 class Answerdmin(admin.ModelAdmin):
16     """Answer admin class"""
17
18 class CommentAdmin(admin.ModelAdmin):
19     """  admin class"""
20
21 class VoteAdmin(admin.ModelAdmin):
22     """  admin class"""
23
24 class FlaggedItemAdmin(admin.ModelAdmin):
25     """  admin class"""
26
27 class FavoriteQuestionAdmin(admin.ModelAdmin):
28     """  admin class"""
29
30 class QuestionRevisionAdmin(admin.ModelAdmin):
31     """  admin class"""
32
33 class AnswerRevisionAdmin(admin.ModelAdmin):
34     """  admin class"""
35
36 class AwardAdmin(admin.ModelAdmin):
37     """  admin class"""
38
39 class BadgeAdmin(admin.ModelAdmin):
40     """  admin class"""
41
42 class ReputeAdmin(admin.ModelAdmin):
43     """  admin class"""
44
45 class ActionAdmin(admin.ModelAdmin):
46     """  admin class"""
47     
48 #class BookAdmin(admin.ModelAdmin):
49 #    """  admin class"""
50     
51 #class BookAuthorInfoAdmin(admin.ModelAdmin):
52 #    """  admin class"""
53     
54 #class BookAuthorRssAdmin(admin.ModelAdmin):
55 #    """  admin class"""
56     
57 admin.site.register(Node, NodeAdmin)
58 admin.site.register(Tag, TagAdmin)
59 admin.site.register(QuestionRevision, QuestionRevisionAdmin)
60 admin.site.register(AnswerRevision, AnswerRevisionAdmin)
61 admin.site.register(Badge, BadgeAdmin)
62 admin.site.register(Award, AwardAdmin)
63 admin.site.register(Action, ActionAdmin)
64 #admin.site.register(Book, BookAdmin)
65 #admin.site.register(BookAuthorInfo, BookAuthorInfoAdmin)
66 #admin.site.register(BookAuthorRss, BookAuthorRssAdmin)