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