3 from south.db import db
\r
4 from south.v2 import SchemaMigration
\r
5 from django.db import models
\r
7 class Migration(SchemaMigration):
\r
9 def forwards(self, orm):
\r
11 # Adding field 'Node.active_revision'
\r
12 db.add_column('forum_node', 'active_revision', self.gf('django.db.models.fields.related.OneToOneField')(related_name='active', unique=True, null=True, to=orm['forum.NodeRevision']), keep_default=False)
\r
15 def backwards(self, orm):
\r
17 # Deleting field 'Node.active_revision'
\r
18 db.delete_column('forum_node', 'active_revision_id')
\r
23 'Meta': {'object_name': 'Group'},
\r
24 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
25 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
\r
26 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
\r
28 'auth.permission': {
\r
29 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
\r
30 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
31 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
32 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
33 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
\r
36 'Meta': {'object_name': 'User'},
\r
37 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
38 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
\r
39 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
40 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
\r
41 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
42 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
43 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
44 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
45 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
46 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
\r
47 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
\r
48 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
\r
49 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
\r
51 'contenttypes.contenttype': {
\r
52 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
\r
53 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
54 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
55 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
\r
56 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
\r
59 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
\r
60 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
61 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
62 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
63 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
64 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
65 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
66 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
68 'forum.anonymousanswer': {
\r
69 'Meta': {'object_name': 'AnonymousAnswer'},
\r
70 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
71 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
72 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
73 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
\r
74 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}),
\r
75 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
\r
76 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
\r
77 'text': ('django.db.models.fields.TextField', [], {}),
\r
78 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
\r
80 'forum.anonymousquestion': {
\r
81 'Meta': {'object_name': 'AnonymousQuestion'},
\r
82 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
83 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
84 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
85 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
\r
86 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
\r
87 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
\r
88 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
89 'text': ('django.db.models.fields.TextField', [], {}),
\r
90 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
91 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
\r
94 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
\r
95 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
96 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
97 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
\r
98 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True', 'primary_key': 'True'}),
\r
99 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
100 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
\r
102 'forum.authkeyuserassociation': {
\r
103 'Meta': {'object_name': 'AuthKeyUserAssociation'},
\r
104 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
105 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
106 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
107 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
\r
108 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
\r
111 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
\r
112 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
113 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
\r
114 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
\r
115 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
116 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
117 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
118 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
\r
121 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
\r
122 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
123 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
\r
124 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
125 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
126 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
127 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
\r
128 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
\r
129 'type': ('django.db.models.fields.SmallIntegerField', [], {})
\r
132 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
\r
133 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
134 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
135 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
136 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
137 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
138 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
139 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}),
\r
140 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
141 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
142 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
\r
144 'forum.favoritequestion': {
\r
145 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
\r
146 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
147 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
148 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
149 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
\r
151 'forum.flaggeditem': {
\r
152 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
\r
153 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
154 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
155 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
156 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
157 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
\r
158 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
\r
160 'forum.keyvalue': {
\r
161 'Meta': {'object_name': 'KeyValue'},
\r
162 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
163 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
164 'value': ('forum.models.utils.PickledObjectField', [], {})
\r
166 'forum.likedcomment': {
\r
167 'Meta': {'object_name': 'LikedComment'},
\r
168 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
169 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
170 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}),
\r
171 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
172 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
174 'forum.markedtag': {
\r
175 'Meta': {'object_name': 'MarkedTag'},
\r
176 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
177 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
\r
178 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
\r
179 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
\r
182 'Meta': {'object_name': 'Node'},
\r
183 'active_revision': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'active'", 'unique': 'True', 'null': 'True', 'to': "orm['forum.NodeRevision']"}),
\r
184 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
185 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'nodes'", 'to': "orm['forum.User']"}),
\r
186 'body': ('django.db.models.fields.TextField', [], {}),
\r
187 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
188 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
189 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
190 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
191 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
192 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
193 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_nodes'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
194 'node_type': ('django.db.models.fields.CharField', [], {'default': "'node'", 'max_length': '16'}),
\r
195 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
196 'parent': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'children'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
197 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
198 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
199 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'nodes'", 'to': "orm['forum.Tag']"}),
\r
200 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
201 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
202 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'})
\r
204 'forum.noderevision': {
\r
205 'Meta': {'unique_together': "(('node', 'revision'),)", 'object_name': 'NodeRevision'},
\r
206 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'noderevisions'", 'to': "orm['forum.User']"}),
\r
207 'body': ('django.db.models.fields.TextField', [], {}),
\r
208 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
209 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Node']"}),
\r
210 'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
\r
211 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
\r
212 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
\r
213 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
\r
214 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
\r
216 'forum.question': {
\r
217 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
\r
218 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
219 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
\r
220 'close_reason': ('django.db.models.fields.SmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
\r
221 'closed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
222 'closed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
223 'closed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'closed_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
224 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
\r
225 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
226 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
227 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
\r
228 'node_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['forum.Node']", 'unique': 'True'}),
\r
229 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
\r
230 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
231 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
232 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
\r
234 'forum.questionsubscription': {
\r
235 'Meta': {'object_name': 'QuestionSubscription'},
\r
236 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
237 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
238 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 14, 17, 56, 17, 351000)'}),
\r
239 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
240 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
243 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
\r
244 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
245 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
\r
246 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
247 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
248 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
\r
249 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
\r
250 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
\r
252 'forum.subscriptionsettings': {
\r
253 'Meta': {'object_name': 'SubscriptionSettings'},
\r
254 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
255 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
256 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
257 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
258 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
\r
259 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
\r
260 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
261 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
262 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
263 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
264 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
265 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
266 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
267 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
\r
268 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
269 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
270 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
\r
271 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
\r
274 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
\r
275 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
\r
276 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
277 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
\r
278 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
\r
279 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
280 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
\r
281 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
282 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
\r
285 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
\r
286 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
\r
287 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
288 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
\r
289 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
290 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
\r
291 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
292 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
293 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
294 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
\r
295 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
296 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
\r
297 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
\r
298 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
\r
299 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
\r
300 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
\r
301 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
\r
303 'forum.validationhash': {
\r
304 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
\r
305 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 15, 17, 56, 17, 557000)'}),
\r
306 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
\r
307 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
308 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
309 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
\r
310 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
\r
313 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
\r
314 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
\r
315 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
\r
316 'node': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'null': 'True', 'to': "orm['forum.Node']"}),
\r
317 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
\r
318 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
\r
319 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
\r
323 complete_apps = ['forum']
\r