]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/migrations/0001_initial.py
OSQA-706, send daily digest only to users that are active and have validated their...
[osqa.git] / forum / migrations / 0001_initial.py
index 5dbd4a267865cea8fc3d5f69ef188ff098c962f9..52811f8bfb30d32367791dd79d6ed636e043826d 100644 (file)
-# encoding: utf-8\r
-import datetime\r
-from south.db import db\r
-from south.v2 import SchemaMigration\r
-from django.db import models\r
-\r
-class Migration(SchemaMigration):\r
-    \r
-    def forwards(self, orm):\r
-        \r
-        # Adding model 'User'\r
-        db.create_table('forum_user', (\r
-            ('website', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)),\r
-            ('user_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True, primary_key=True)),\r
-            ('hide_ignored_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('is_approved', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('email_isvalid', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('real_name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)),\r
-            ('about', self.gf('django.db.models.fields.TextField')(blank=True)),\r
-            ('silver', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('date_of_birth', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),\r
-            ('reputation', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)),\r
-            ('gravatar', self.gf('django.db.models.fields.CharField')(max_length=32)),\r
-            ('location', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)),\r
-            ('tag_filter_setting', self.gf('django.db.models.fields.CharField')(default='ignored', max_length=16)),\r
-            ('gold', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('last_seen', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('email_key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True)),\r
-            ('bronze', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('questions_per_page', self.gf('django.db.models.fields.SmallIntegerField')(default=10)),\r
-        ))\r
-        db.send_create_signal('forum', ['User'])\r
-\r
-        # Adding model 'Activity'\r
-        db.create_table(u'activity', (\r
-            ('is_auditted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),\r
-            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),\r
-            ('active_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('activity_type', self.gf('django.db.models.fields.SmallIntegerField')()),\r
-        ))\r
-        db.send_create_signal('forum', ['Activity'])\r
-\r
-        # Adding model 'SubscriptionSettings'\r
-        db.create_table('forum_subscriptionsettings', (\r
-            ('questions_asked', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('questions_viewed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('notify_comments', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('new_question', self.gf('django.db.models.fields.CharField')(default='d', max_length=1)),\r
-            ('all_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('new_question_watched_tags', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)),\r
-            ('questions_answered', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('notify_comments_own_post', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('questions_commented', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('subscribed_questions', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)),\r
-            ('notify_reply_to_comments', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('member_joins', self.gf('django.db.models.fields.CharField')(default='n', max_length=1)),\r
-            ('user', self.gf('django.db.models.fields.related.OneToOneField')(related_name='subscription_settings', unique=True, to=orm['forum.User'])),\r
-            ('notify_answers', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('enable_notifications', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('all_questions_watched_tags', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('notify_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['SubscriptionSettings'])\r
-\r
-        # Adding model 'ValidationHash'\r
-        db.create_table('forum_validationhash', (\r
-            ('hash_code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),\r
-            ('seed', self.gf('django.db.models.fields.CharField')(max_length=12)),\r
-            ('expiration', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 7, 10, 36, 23, 812000))),\r
-            ('type', self.gf('django.db.models.fields.CharField')(max_length=12)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['ValidationHash'])\r
-\r
-        # Adding unique constraint on 'ValidationHash', fields ['user', 'type']\r
-        db.create_unique('forum_validationhash', ['user_id', 'type'])\r
-\r
-        # Adding model 'AuthKeyUserAssociation'\r
-        db.create_table('forum_authkeyuserassociation', (\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='auth_keys', to=orm['forum.User'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),\r
-            ('provider', self.gf('django.db.models.fields.CharField')(max_length=64)),\r
-        ))\r
-        db.send_create_signal('forum', ['AuthKeyUserAssociation'])\r
-\r
-        # Adding model 'Vote'\r
-        db.create_table(u'vote', (\r
-            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-            ('voted_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', to=orm['forum.User'])),\r
-            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),\r
-            ('vote', self.gf('django.db.models.fields.SmallIntegerField')()),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['Vote'])\r
-\r
-        # Adding unique constraint on 'Vote', fields ['content_type', 'object_id', 'user']\r
-        db.create_unique(u'vote', ['content_type_id', 'object_id', 'user_id'])\r
-\r
-        # Adding model 'FlaggedItem'\r
-        db.create_table(u'flagged_item', (\r
-            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-            ('flagged_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['FlaggedItem'])\r
-\r
-        # Adding unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user']\r
-        db.create_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id'])\r
-\r
-        # Adding model 'Comment'\r
-        db.create_table(u'comment', (\r
-            ('comment', self.gf('django.db.models.fields.CharField')(max_length=300)),\r
-            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['Comment'])\r
-\r
-        # Adding model 'Tag'\r
-        db.create_table(u'tag', (\r
-            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),\r
-            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='created_tags', to=orm['forum.User'])),\r
-            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_tags', null=True, to=orm['forum.User'])),\r
-            ('used_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),\r
-            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['Tag'])\r
-\r
-        # Adding model 'MarkedTag'\r
-        db.create_table('forum_markedtag', (\r
-            ('reason', self.gf('django.db.models.fields.CharField')(max_length=16)),\r
-            ('tag', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_selections', to=orm['forum.Tag'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tag_selections', to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['MarkedTag'])\r
-\r
-        # Adding model 'Question'\r
-        db.create_table(u'question', (\r
-            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('answer_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('closed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('last_activity_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_active_in_questions', to=orm['forum.User'])),\r
-            ('view_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('score', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questions', to=orm['forum.User'])),\r
-            ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),\r
-            ('html', self.gf('django.db.models.fields.TextField')()),\r
-            ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('closed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_questions', null=True, to=orm['forum.User'])),\r
-            ('favourite_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),\r
-            ('answer_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),\r
-            ('last_activity_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('closed_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='closed_questions', null=True, to=orm['forum.User'])),\r
-            ('close_reason', self.gf('django.db.models.fields.SmallIntegerField')(null=True, blank=True)),\r
-            ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),\r
-            ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_questions', null=True, to=orm['forum.User'])),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_questions', null=True, to=orm['forum.User'])),\r
-            ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),\r
-            ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['Question'])\r
-\r
-        # Adding M2M table for field followed_by on 'Question'\r
-        db.create_table(u'question_followed_by', (\r
-            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),\r
-            ('question', models.ForeignKey(orm['forum.question'], null=False)),\r
-            ('user', models.ForeignKey(orm['forum.user'], null=False))\r
-        ))\r
-        db.create_unique(u'question_followed_by', ['question_id', 'user_id'])\r
-\r
-        # Adding M2M table for field tags on 'Question'\r
-        db.create_table(u'question_tags', (\r
-            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),\r
-            ('question', models.ForeignKey(orm['forum.question'], null=False)),\r
-            ('tag', models.ForeignKey(orm['forum.tag'], null=False))\r
-        ))\r
-        db.create_unique(u'question_tags', ['question_id', 'tag_id'])\r
-\r
-        # Adding model 'QuestionSubscription'\r
-        db.create_table('forum_questionsubscription', (\r
-            ('last_view', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 6, 10, 36, 23, 725000))),\r
-            ('auto_subscription', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['QuestionSubscription'])\r
-\r
-        # Adding model 'FavoriteQuestion'\r
-        db.create_table(u'favorite_question', (\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_favorite_questions', to=orm['forum.User'])),\r
-        ))\r
-        db.send_create_signal('forum', ['FavoriteQuestion'])\r
-\r
-        # Adding model 'QuestionRevision'\r
-        db.create_table(u'question_revision', (\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questionrevisions', to=orm['forum.User'])),\r
-            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),\r
-            ('text', self.gf('django.db.models.fields.TextField')()),\r
-            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Question'])),\r
-            ('revised_at', self.gf('django.db.models.fields.DateTimeField')()),\r
-            ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-        ))\r
-        db.send_create_signal('forum', ['QuestionRevision'])\r
-\r
-        # Adding model 'AnonymousQuestion'\r
-        db.create_table('forum_anonymousquestion', (\r
-            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)),\r
-            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),\r
-            ('text', self.gf('django.db.models.fields.TextField')()),\r
-            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),\r
-            ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['AnonymousQuestion'])\r
-\r
-        # Adding model 'Answer'\r
-        db.create_table(u'answer', (\r
-            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('score', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.User'])),\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.Question'])),\r
-            ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),\r
-            ('html', self.gf('django.db.models.fields.TextField')()),\r
-            ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)),\r
-            ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_answers', null=True, to=orm['forum.User'])),\r
-            ('accepted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_answers', null=True, to=orm['forum.User'])),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_answers', null=True, to=orm['forum.User'])),\r
-            ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-            ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['Answer'])\r
-\r
-        # Adding model 'AnswerRevision'\r
-        db.create_table(u'answer_revision', (\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answerrevisions', to=orm['forum.User'])),\r
-            ('text', self.gf('django.db.models.fields.TextField')()),\r
-            ('revised_at', self.gf('django.db.models.fields.DateTimeField')()),\r
-            ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)),\r
-            ('answer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Answer'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-        ))\r
-        db.send_create_signal('forum', ['AnswerRevision'])\r
-\r
-        # Adding model 'AnonymousAnswer'\r
-        db.create_table('forum_anonymousanswer', (\r
-            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),\r
-            ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)),\r
-            ('text', self.gf('django.db.models.fields.TextField')()),\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_answers', to=orm['forum.Question'])),\r
-            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),\r
-            ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['AnonymousAnswer'])\r
-\r
-        # Adding model 'Badge'\r
-        db.create_table(u'badge', (\r
-            ('multiple', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('description', self.gf('django.db.models.fields.CharField')(max_length=300)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('awarded_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),\r
-            ('type', self.gf('django.db.models.fields.SmallIntegerField')()),\r
-            ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, max_length=50, blank=True)),\r
-            ('name', self.gf('django.db.models.fields.CharField')(max_length=50)),\r
-        ))\r
-        db.send_create_signal('forum', ['Badge'])\r
-\r
-        # Adding unique constraint on 'Badge', fields ['name', 'type']\r
-        db.create_unique(u'badge', ['name', 'type'])\r
-\r
-        # Adding model 'Award'\r
-        db.create_table(u'award', (\r
-            ('awarded_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('notified', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),\r
-            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='awards', to=orm['forum.User'])),\r
-            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),\r
-            ('badge', self.gf('django.db.models.fields.related.ForeignKey')(related_name='award_badge', to=orm['forum.Badge'])),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-        ))\r
-        db.send_create_signal('forum', ['Award'])\r
-\r
-        # Adding unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge']\r
-        db.create_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id'])\r
-\r
-        # Adding model 'Repute'\r
-        db.create_table(u'repute', (\r
-            ('positive', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),\r
-            ('negative', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),\r
-            ('reputation_type', self.gf('django.db.models.fields.SmallIntegerField')()),\r
-            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),\r
-            ('reputed_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('reputation', self.gf('django.db.models.fields.IntegerField')(default=1)),\r
-        ))\r
-        db.send_create_signal('forum', ['Repute'])\r
-\r
-        # Adding model 'KeyValue'\r
-        db.create_table('forum_keyvalue', (\r
-            ('value', self.gf('forum.models.utils.PickledObjectField')()),\r
-            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),\r
-            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),\r
-        ))\r
-        db.send_create_signal('forum', ['KeyValue'])\r
-    \r
-    \r
-    def backwards(self, orm):\r
-        \r
-        # Deleting model 'User'\r
-        db.delete_table('forum_user')\r
-\r
-        # Deleting model 'Activity'\r
-        db.delete_table(u'activity')\r
-\r
-        # Deleting model 'SubscriptionSettings'\r
-        db.delete_table('forum_subscriptionsettings')\r
-\r
-        # Deleting model 'ValidationHash'\r
-        db.delete_table('forum_validationhash')\r
-\r
-        # Removing unique constraint on 'ValidationHash', fields ['user', 'type']\r
-        db.delete_unique('forum_validationhash', ['user_id', 'type'])\r
-\r
-        # Deleting model 'AuthKeyUserAssociation'\r
-        db.delete_table('forum_authkeyuserassociation')\r
-\r
-        # Deleting model 'Vote'\r
-        db.delete_table(u'vote')\r
-\r
-        # Removing unique constraint on 'Vote', fields ['content_type', 'object_id', 'user']\r
-        db.delete_unique(u'vote', ['content_type_id', 'object_id', 'user_id'])\r
-\r
-        # Deleting model 'FlaggedItem'\r
-        db.delete_table(u'flagged_item')\r
-\r
-        # Removing unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user']\r
-        db.delete_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id'])\r
-\r
-        # Deleting model 'Comment'\r
-        db.delete_table(u'comment')\r
-\r
-        # Deleting model 'Tag'\r
-        db.delete_table(u'tag')\r
-\r
-        # Deleting model 'MarkedTag'\r
-        db.delete_table('forum_markedtag')\r
-\r
-        # Deleting model 'Question'\r
-        db.delete_table(u'question')\r
-\r
-        # Removing M2M table for field followed_by on 'Question'\r
-        db.delete_table('question_followed_by')\r
-\r
-        # Removing M2M table for field tags on 'Question'\r
-        db.delete_table('question_tags')\r
-\r
-        # Deleting model 'QuestionSubscription'\r
-        db.delete_table('forum_questionsubscription')\r
-\r
-        # Deleting model 'FavoriteQuestion'\r
-        db.delete_table(u'favorite_question')\r
-\r
-        # Deleting model 'QuestionRevision'\r
-        db.delete_table(u'question_revision')\r
-\r
-        # Deleting model 'AnonymousQuestion'\r
-        db.delete_table('forum_anonymousquestion')\r
-\r
-        # Deleting model 'Answer'\r
-        db.delete_table(u'answer')\r
-\r
-        # Deleting model 'AnswerRevision'\r
-        db.delete_table(u'answer_revision')\r
-\r
-        # Deleting model 'AnonymousAnswer'\r
-        db.delete_table('forum_anonymousanswer')\r
-\r
-        # Deleting model 'Badge'\r
-        db.delete_table(u'badge')\r
-\r
-        # Removing unique constraint on 'Badge', fields ['name', 'type']\r
-        db.delete_unique(u'badge', ['name', 'type'])\r
-\r
-        # Deleting model 'Award'\r
-        db.delete_table(u'award')\r
-\r
-        # Removing unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge']\r
-        db.delete_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id'])\r
-\r
-        # Deleting model 'Repute'\r
-        db.delete_table(u'repute')\r
-\r
-        # Deleting model 'KeyValue'\r
-        db.delete_table('forum_keyvalue')\r
-    \r
-    \r
-    models = {\r
-        'auth.group': {\r
-            'Meta': {'object_name': 'Group'},\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),\r
-            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})\r
-        },\r
-        'auth.permission': {\r
-            'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},\r
-            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})\r
-        },\r
-        'auth.user': {\r
-            'Meta': {'object_name': 'User'},\r
-            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),\r
-            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),\r
-            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),\r
-            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),\r
-            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),\r
-            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})\r
-        },\r
-        'contenttypes.contenttype': {\r
-            'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},\r
-            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),\r
-            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})\r
-        },\r
-        'forum.activity': {\r
-            'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},\r
-            'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})\r
-        },\r
-        'forum.anonymousanswer': {\r
-            'Meta': {'object_name': 'AnonymousAnswer'},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}),\r
-            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),\r
-            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),\r
-            'text': ('django.db.models.fields.TextField', [], {}),\r
-            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})\r
-        },\r
-        'forum.anonymousquestion': {\r
-            'Meta': {'object_name': 'AnonymousQuestion'},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),\r
-            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),\r
-            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),\r
-            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),\r
-            'text': ('django.db.models.fields.TextField', [], {}),\r
-            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),\r
-            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})\r
-        },\r
-        'forum.answer': {\r
-            'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},\r
-            'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}),\r
-            'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),\r
-            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'html': ('django.db.models.fields.TextField', [], {}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_answers'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}),\r
-            'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})\r
-        },\r
-        'forum.answerrevision': {\r
-            'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"},\r
-            'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}),\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'revised_at': ('django.db.models.fields.DateTimeField', [], {}),\r
-            'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),\r
-            'text': ('django.db.models.fields.TextField', [], {})\r
-        },\r
-        'forum.authkeyuserassociation': {\r
-            'Meta': {'object_name': 'AuthKeyUserAssociation'},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),\r
-            'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.award': {\r
-            'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},\r
-            'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.badge': {\r
-            'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},\r
-            'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),\r
-            'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),\r
-            'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),\r
-            'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),\r
-            'type': ('django.db.models.fields.SmallIntegerField', [], {})\r
-        },\r
-        'forum.comment': {\r
-            'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.favoritequestion': {\r
-            'Meta': {'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.flaggeditem': {\r
-            'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.keyvalue': {\r
-            'Meta': {'object_name': 'KeyValue'},\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),\r
-            'value': ('forum.models.utils.PickledObjectField', [], {})\r
-        },\r
-        'forum.markedtag': {\r
-            'Meta': {'object_name': 'MarkedTag'},\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),\r
-            'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.question': {\r
-            'Meta': {'object_name': 'Question', 'db_table': "u'question'"},\r
-            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}),\r
-            'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),\r
-            'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),\r
-            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),\r
-            'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}),\r
-            'html': ('django.db.models.fields.TextField', [], {}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),\r
-            'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_questions'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),\r
-            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),\r
-            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),\r
-            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}),\r
-            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),\r
-            'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),\r
-            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})\r
-        },\r
-        'forum.questionrevision': {\r
-            'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"},\r
-            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}),\r
-            'revised_at': ('django.db.models.fields.DateTimeField', [], {}),\r
-            'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),\r
-            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),\r
-            'text': ('django.db.models.fields.TextField', [], {}),\r
-            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})\r
-        },\r
-        'forum.questionsubscription': {\r
-            'Meta': {'object_name': 'QuestionSubscription'},\r
-            'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 10, 36, 23, 725000)'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})\r
-        },\r
-        'forum.repute': {\r
-            'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),\r
-            'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}),\r
-            'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),\r
-            'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})\r
-        },\r
-        'forum.subscriptionsettings': {\r
-            'Meta': {'object_name': 'SubscriptionSettings'},\r
-            'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),\r
-            'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),\r
-            'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),\r
-            'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),\r
-            'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),\r
-            'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})\r
-        },\r
-        'forum.tag': {\r
-            'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},\r
-            'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),\r
-            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),\r
-            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),\r
-            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),\r
-            'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})\r
-        },\r
-        'forum.user': {\r
-            'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},\r
-            'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),\r
-            'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),\r
-            'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),\r
-            'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'gravatar': ('django.db.models.fields.CharField', [], {'max_length': '32'}),\r
-            'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),\r
-            'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),\r
-            'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),\r
-            'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),\r
-            'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),\r
-            'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),\r
-            'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),\r
-            'tag_filter_setting': ('django.db.models.fields.CharField', [], {'default': "'ignored'", 'max_length': '16'}),\r
-            'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),\r
-            'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})\r
-        },\r
-        'forum.validationhash': {\r
-            'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},\r
-            'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 10, 36, 23, 863000)'}),\r
-            'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),\r
-            'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})\r
-        },\r
-        'forum.vote': {\r
-            'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'Vote', 'db_table': "u'vote'"},\r
-            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),\r
-            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),\r
-            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),\r
-            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),\r
-            'vote': ('django.db.models.fields.SmallIntegerField', [], {}),\r
-            'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})\r
-        }\r
-    }\r
-    \r
-    complete_apps = ['forum']\r
+# encoding: utf-8
+import datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+class Migration(SchemaMigration):
+    
+    def forwards(self, orm):
+        
+        # Adding model 'User'
+        db.create_table('forum_user', (
+            ('website', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)),
+            ('user_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True, primary_key=True)),
+            ('hide_ignored_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('is_approved', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('email_isvalid', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('real_name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)),
+            ('about', self.gf('django.db.models.fields.TextField')(blank=True)),
+            ('silver', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('date_of_birth', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
+            ('reputation', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)),
+            ('gravatar', self.gf('django.db.models.fields.CharField')(max_length=32)),
+            ('location', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)),
+            ('tag_filter_setting', self.gf('django.db.models.fields.CharField')(default='ignored', max_length=16)),
+            ('gold', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('last_seen', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('email_key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True)),
+            ('bronze', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('questions_per_page', self.gf('django.db.models.fields.SmallIntegerField')(default=10)),
+        ))
+        db.send_create_signal('forum', ['User'])
+
+        # Adding model 'Activity'
+        db.create_table(u'activity', (
+            ('is_auditted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),
+            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+            ('active_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('activity_type', self.gf('django.db.models.fields.SmallIntegerField')()),
+        ))
+        db.send_create_signal('forum', ['Activity'])
+
+        # Adding model 'SubscriptionSettings'
+        db.create_table('forum_subscriptionsettings', (
+            ('questions_asked', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('questions_viewed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('notify_comments', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('new_question', self.gf('django.db.models.fields.CharField')(default='d', max_length=1)),
+            ('all_questions', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('new_question_watched_tags', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)),
+            ('questions_answered', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('notify_comments_own_post', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('questions_commented', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('subscribed_questions', self.gf('django.db.models.fields.CharField')(default='i', max_length=1)),
+            ('notify_reply_to_comments', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('member_joins', self.gf('django.db.models.fields.CharField')(default='n', max_length=1)),
+            ('user', self.gf('django.db.models.fields.related.OneToOneField')(related_name='subscription_settings', unique=True, to=orm['forum.User'])),
+            ('notify_answers', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('enable_notifications', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('all_questions_watched_tags', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('notify_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+        ))
+        db.send_create_signal('forum', ['SubscriptionSettings'])
+
+        # Adding model 'ValidationHash'
+        db.create_table('forum_validationhash', (
+            ('hash_code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
+            ('seed', self.gf('django.db.models.fields.CharField')(max_length=12)),
+            ('expiration', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 7, 10, 36, 23, 812000))),
+            ('type', self.gf('django.db.models.fields.CharField')(max_length=12)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['ValidationHash'])
+
+        # Adding unique constraint on 'ValidationHash', fields ['user', 'type']
+        db.create_unique('forum_validationhash', ['user_id', 'type'])
+
+        # Adding model 'AuthKeyUserAssociation'
+        db.create_table('forum_authkeyuserassociation', (
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='auth_keys', to=orm['forum.User'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
+            ('provider', self.gf('django.db.models.fields.CharField')(max_length=64)),
+        ))
+        db.send_create_signal('forum', ['AuthKeyUserAssociation'])
+
+        # Adding model 'Vote'
+        db.create_table(u'vote', (
+            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
+            ('voted_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='votes', to=orm['forum.User'])),
+            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+            ('vote', self.gf('django.db.models.fields.SmallIntegerField')()),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+        ))
+        db.send_create_signal('forum', ['Vote'])
+
+        # Adding unique constraint on 'Vote', fields ['content_type', 'object_id', 'user']
+        db.create_unique(u'vote', ['content_type_id', 'object_id', 'user_id'])
+
+        # Adding model 'FlaggedItem'
+        db.create_table(u'flagged_item', (
+            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
+            ('flagged_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='flaggeditems', to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['FlaggedItem'])
+
+        # Adding unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user']
+        db.create_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id'])
+
+        # Adding model 'Comment'
+        db.create_table(u'comment', (
+            ('comment', self.gf('django.db.models.fields.CharField')(max_length=300)),
+            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['Comment'])
+
+        # Adding model 'Tag'
+        db.create_table(u'tag', (
+            ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
+            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='created_tags', to=orm['forum.User'])),
+            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_tags', null=True, to=orm['forum.User'])),
+            ('used_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
+            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+        ))
+        db.send_create_signal('forum', ['Tag'])
+
+        # Adding model 'MarkedTag'
+        db.create_table('forum_markedtag', (
+            ('reason', self.gf('django.db.models.fields.CharField')(max_length=16)),
+            ('tag', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_selections', to=orm['forum.Tag'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tag_selections', to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['MarkedTag'])
+
+        # Adding model 'Question'
+        db.create_table(u'question', (
+            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('answer_accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('closed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('last_activity_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='last_active_in_questions', to=orm['forum.User'])),
+            ('view_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('score', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questions', to=orm['forum.User'])),
+            ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
+            ('html', self.gf('django.db.models.fields.TextField')()),
+            ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('closed', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_questions', null=True, to=orm['forum.User'])),
+            ('favourite_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),
+            ('answer_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
+            ('last_activity_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('closed_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='closed_questions', null=True, to=orm['forum.User'])),
+            ('close_reason', self.gf('django.db.models.fields.SmallIntegerField')(null=True, blank=True)),
+            ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),
+            ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_questions', null=True, to=orm['forum.User'])),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_questions', null=True, to=orm['forum.User'])),
+            ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),
+            ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+        ))
+        db.send_create_signal('forum', ['Question'])
+
+        # Adding M2M table for field followed_by on 'Question'
+        db.create_table(u'question_followed_by', (
+            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+            ('question', models.ForeignKey(orm['forum.question'], null=False)),
+            ('user', models.ForeignKey(orm['forum.user'], null=False))
+        ))
+        db.create_unique(u'question_followed_by', ['question_id', 'user_id'])
+
+        # Adding M2M table for field tags on 'Question'
+        db.create_table(u'question_tags', (
+            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+            ('question', models.ForeignKey(orm['forum.question'], null=False)),
+            ('tag', models.ForeignKey(orm['forum.tag'], null=False))
+        ))
+        db.create_unique(u'question_tags', ['question_id', 'tag_id'])
+
+        # Adding model 'QuestionSubscription'
+        db.create_table('forum_questionsubscription', (
+            ('last_view', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime(2010, 4, 6, 10, 36, 23, 725000))),
+            ('auto_subscription', self.gf('django.db.models.fields.BooleanField')(default=True, blank=True)),
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['QuestionSubscription'])
+
+        # Adding model 'FavoriteQuestion'
+        db.create_table(u'favorite_question', (
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user_favorite_questions', to=orm['forum.User'])),
+        ))
+        db.send_create_signal('forum', ['FavoriteQuestion'])
+
+        # Adding model 'QuestionRevision'
+        db.create_table(u'question_revision', (
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='questionrevisions', to=orm['forum.User'])),
+            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),
+            ('text', self.gf('django.db.models.fields.TextField')()),
+            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Question'])),
+            ('revised_at', self.gf('django.db.models.fields.DateTimeField')()),
+            ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()),
+        ))
+        db.send_create_signal('forum', ['QuestionRevision'])
+
+        # Adding model 'AnonymousQuestion'
+        db.create_table('forum_anonymousquestion', (
+            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)),
+            ('tagnames', self.gf('django.db.models.fields.CharField')(max_length=125)),
+            ('text', self.gf('django.db.models.fields.TextField')()),
+            ('title', self.gf('django.db.models.fields.CharField')(max_length=300)),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),
+            ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+        ))
+        db.send_create_signal('forum', ['AnonymousQuestion'])
+
+        # Adding model 'Answer'
+        db.create_table(u'answer', (
+            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('vote_up_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('offensive_flag_count', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('deleted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('locked_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('score', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.User'])),
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answers', to=orm['forum.Question'])),
+            ('comment_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
+            ('html', self.gf('django.db.models.fields.TextField')()),
+            ('vote_down_count', self.gf('django.db.models.fields.IntegerField')(default=0)),
+            ('last_edited_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='last_edited_answers', null=True, to=orm['forum.User'])),
+            ('accepted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('deleted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('accepted', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('locked', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('locked_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='locked_answers', null=True, to=orm['forum.User'])),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('deleted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='deleted_answers', null=True, to=orm['forum.User'])),
+            ('wikified_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+            ('last_edited_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
+        ))
+        db.send_create_signal('forum', ['Answer'])
+
+        # Adding model 'AnswerRevision'
+        db.create_table(u'answer_revision', (
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='answerrevisions', to=orm['forum.User'])),
+            ('text', self.gf('django.db.models.fields.TextField')()),
+            ('revised_at', self.gf('django.db.models.fields.DateTimeField')()),
+            ('summary', self.gf('django.db.models.fields.CharField')(max_length=300, blank=True)),
+            ('answer', self.gf('django.db.models.fields.related.ForeignKey')(related_name='revisions', to=orm['forum.Answer'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('revision', self.gf('django.db.models.fields.PositiveIntegerField')()),
+        ))
+        db.send_create_signal('forum', ['AnswerRevision'])
+
+        # Adding model 'AnonymousAnswer'
+        db.create_table('forum_anonymousanswer', (
+            ('wiki', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('ip_addr', self.gf('django.db.models.fields.IPAddressField')(max_length=15)),
+            ('author', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'], null=True)),
+            ('text', self.gf('django.db.models.fields.TextField')()),
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(related_name='anonymous_answers', to=orm['forum.Question'])),
+            ('added_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('summary', self.gf('django.db.models.fields.CharField')(max_length=180)),
+            ('session_key', self.gf('django.db.models.fields.CharField')(max_length=40)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+        ))
+        db.send_create_signal('forum', ['AnonymousAnswer'])
+
+        # Adding model 'Badge'
+        db.create_table(u'badge', (
+            ('multiple', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('description', self.gf('django.db.models.fields.CharField')(max_length=300)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('awarded_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)),
+            ('type', self.gf('django.db.models.fields.SmallIntegerField')()),
+            ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, max_length=50, blank=True)),
+            ('name', self.gf('django.db.models.fields.CharField')(max_length=50)),
+        ))
+        db.send_create_signal('forum', ['Badge'])
+
+        # Adding unique constraint on 'Badge', fields ['name', 'type']
+        db.create_unique(u'badge', ['name', 'type'])
+
+        # Adding model 'Award'
+        db.create_table(u'award', (
+            ('awarded_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('notified', self.gf('django.db.models.fields.BooleanField')(default=False, blank=True)),
+            ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='awards', to=orm['forum.User'])),
+            ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+            ('badge', self.gf('django.db.models.fields.related.ForeignKey')(related_name='award_badge', to=orm['forum.Badge'])),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+        ))
+        db.send_create_signal('forum', ['Award'])
+
+        # Adding unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge']
+        db.create_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id'])
+
+        # Adding model 'Repute'
+        db.create_table(u'repute', (
+            ('positive', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.Question'])),
+            ('negative', self.gf('django.db.models.fields.SmallIntegerField')(default=0)),
+            ('reputation_type', self.gf('django.db.models.fields.SmallIntegerField')()),
+            ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['forum.User'])),
+            ('reputed_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('reputation', self.gf('django.db.models.fields.IntegerField')(default=1)),
+        ))
+        db.send_create_signal('forum', ['Repute'])
+
+        # Adding model 'KeyValue'
+        db.create_table('forum_keyvalue', (
+            ('value', self.gf('forum.models.utils.PickledObjectField')()),
+            ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+            ('key', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
+        ))
+        db.send_create_signal('forum', ['KeyValue'])
+    
+    
+    def backwards(self, orm):
+        
+        # Deleting model 'User'
+        db.delete_table('forum_user')
+
+        # Deleting model 'Activity'
+        db.delete_table(u'activity')
+
+        # Deleting model 'SubscriptionSettings'
+        db.delete_table('forum_subscriptionsettings')
+
+        # Deleting model 'ValidationHash'
+        db.delete_table('forum_validationhash')
+
+        # Removing unique constraint on 'ValidationHash', fields ['user', 'type']
+        db.delete_unique('forum_validationhash', ['user_id', 'type'])
+
+        # Deleting model 'AuthKeyUserAssociation'
+        db.delete_table('forum_authkeyuserassociation')
+
+        # Deleting model 'Vote'
+        db.delete_table(u'vote')
+
+        # Removing unique constraint on 'Vote', fields ['content_type', 'object_id', 'user']
+        db.delete_unique(u'vote', ['content_type_id', 'object_id', 'user_id'])
+
+        # Deleting model 'FlaggedItem'
+        db.delete_table(u'flagged_item')
+
+        # Removing unique constraint on 'FlaggedItem', fields ['content_type', 'object_id', 'user']
+        db.delete_unique(u'flagged_item', ['content_type_id', 'object_id', 'user_id'])
+
+        # Deleting model 'Comment'
+        db.delete_table(u'comment')
+
+        # Deleting model 'Tag'
+        db.delete_table(u'tag')
+
+        # Deleting model 'MarkedTag'
+        db.delete_table('forum_markedtag')
+
+        # Deleting model 'Question'
+        db.delete_table(u'question')
+
+        # Removing M2M table for field followed_by on 'Question'
+        db.delete_table('question_followed_by')
+
+        # Removing M2M table for field tags on 'Question'
+        db.delete_table('question_tags')
+
+        # Deleting model 'QuestionSubscription'
+        db.delete_table('forum_questionsubscription')
+
+        # Deleting model 'FavoriteQuestion'
+        db.delete_table(u'favorite_question')
+
+        # Deleting model 'QuestionRevision'
+        db.delete_table(u'question_revision')
+
+        # Deleting model 'AnonymousQuestion'
+        db.delete_table('forum_anonymousquestion')
+
+        # Deleting model 'Answer'
+        db.delete_table(u'answer')
+
+        # Deleting model 'AnswerRevision'
+        db.delete_table(u'answer_revision')
+
+        # Deleting model 'AnonymousAnswer'
+        db.delete_table('forum_anonymousanswer')
+
+        # Deleting model 'Badge'
+        db.delete_table(u'badge')
+
+        # Removing unique constraint on 'Badge', fields ['name', 'type']
+        db.delete_unique(u'badge', ['name', 'type'])
+
+        # Deleting model 'Award'
+        db.delete_table(u'award')
+
+        # Removing unique constraint on 'Award', fields ['content_type', 'object_id', 'user', 'badge']
+        db.delete_unique(u'award', ['content_type_id', 'object_id', 'user_id', 'badge_id'])
+
+        # Deleting model 'Repute'
+        db.delete_table(u'repute')
+
+        # Deleting model 'KeyValue'
+        db.delete_table('forum_keyvalue')
+    
+    
+    models = {
+        'auth.group': {
+            'Meta': {'object_name': 'Group'},
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
+            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
+        },
+        'auth.permission': {
+            'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
+            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
+        },
+        'auth.user': {
+            'Meta': {'object_name': 'User'},
+            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
+            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
+            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
+            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
+            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
+            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
+        },
+        'contenttypes.contenttype': {
+            'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
+            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
+        },
+        'forum.activity': {
+            'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
+            'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
+        },
+        'forum.anonymousanswer': {
+            'Meta': {'object_name': 'AnonymousAnswer'},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}),
+            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
+            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
+            'text': ('django.db.models.fields.TextField', [], {}),
+            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
+        },
+        'forum.anonymousquestion': {
+            'Meta': {'object_name': 'AnonymousQuestion'},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
+            'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
+            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
+            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
+            'text': ('django.db.models.fields.TextField', [], {}),
+            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
+            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
+        },
+        'forum.answer': {
+            'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
+            'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}),
+            'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'html': ('django.db.models.fields.TextField', [], {}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}),
+            'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
+        },
+        'forum.answerrevision': {
+            'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"},
+            'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}),
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
+            'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
+            'text': ('django.db.models.fields.TextField', [], {})
+        },
+        'forum.authkeyuserassociation': {
+            'Meta': {'object_name': 'AuthKeyUserAssociation'},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
+            'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
+        },
+        'forum.award': {
+            'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
+            'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
+        },
+        'forum.badge': {
+            'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
+            'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
+            'type': ('django.db.models.fields.SmallIntegerField', [], {})
+        },
+        'forum.comment': {
+            'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
+        },
+        'forum.favoritequestion': {
+            'Meta': {'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
+        },
+        'forum.flaggeditem': {
+            'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
+        },
+        'forum.keyvalue': {
+            'Meta': {'object_name': 'KeyValue'},
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
+            'value': ('forum.models.utils.PickledObjectField', [], {})
+        },
+        'forum.markedtag': {
+            'Meta': {'object_name': 'MarkedTag'},
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
+            'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
+        },
+        'forum.question': {
+            'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
+            'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}),
+            'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
+            'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
+            'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}),
+            'html': ('django.db.models.fields.TextField', [], {}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
+            'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'locked': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'locked_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'locked_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'locked_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
+            'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
+            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
+            'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}),
+            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
+            'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
+            'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
+        },
+        'forum.questionrevision': {
+            'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"},
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}),
+            'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
+            'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
+            'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
+            'text': ('django.db.models.fields.TextField', [], {}),
+            'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
+        },
+        'forum.questionsubscription': {
+            'Meta': {'object_name': 'QuestionSubscription'},
+            'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 10, 36, 23, 725000)'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
+        },
+        'forum.repute': {
+            'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
+            'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
+            'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
+            'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
+        },
+        'forum.subscriptionsettings': {
+            'Meta': {'object_name': 'SubscriptionSettings'},
+            'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
+            'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
+            'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
+            'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
+            'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
+        },
+        'forum.tag': {
+            'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
+            'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
+            'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
+            'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
+            'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
+        },
+        'forum.user': {
+            'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
+            'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
+            'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
+            'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
+            'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'gravatar': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
+            'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+            'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
+            'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
+            'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
+            'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
+            'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'tag_filter_setting': ('django.db.models.fields.CharField', [], {'default': "'ignored'", 'max_length': '16'}),
+            'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
+            'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
+        },
+        'forum.validationhash': {
+            'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
+            'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 10, 36, 23, 863000)'}),
+            'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
+            'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
+        },
+        'forum.vote': {
+            'Meta': {'unique_together': "(('content_type', 'object_id', 'user'),)", 'object_name': 'Vote', 'db_table': "u'vote'"},
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
+            'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
+            'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
+        }
+    }
+    
+    complete_apps = ['forum']