1 from question import Question ,QuestionRevision, QuestionSubscription
\r
2 from answer import Answer, AnswerRevision
\r
3 from tag import Tag, MarkedTag
\r
4 from user import User, ValidationHash, AuthKeyUserAssociation, SubscriptionSettings
\r
5 from node import Node, NodeRevision, NodeMetaClass
\r
6 from comment import Comment
\r
7 from action import Action, ActionRepute
\r
8 from meta import Vote, Flag, Badge, Award
\r
9 from utils import KeyValue
\r
12 from south.modelsinspector import add_introspection_rules
\r
13 add_introspection_rules([], [r"^forum\.models\.\w+\.\w+"])
\r
20 'Node', 'NodeRevision',
\r
21 'Question', 'QuestionSubscription', 'QuestionRevision',
\r
22 'Answer', 'AnswerRevision',
\r
23 'Tag', 'Comment', 'MarkedTag', 'Badge', 'Award',
\r
24 'ValidationHash', 'AuthKeyUserAssociation', 'SubscriptionSettings', 'KeyValue', 'User',
\r
25 'Action', 'ActionRepute', 'Vote', 'Flag'
\r
29 from forum.modules import get_modules_script_classes
\r
31 for k, v in get_modules_script_classes('models', models.Model).items():
\r
32 if not k in __all__:
\r
36 NodeMetaClass.setup_relations()
\r
37 BaseMetaClass.setup_denormalizes()