3 from south.db import db
4 from south.v2 import DataMigration
5 from django.db import models
7 class Migration(DataMigration):
9 def forwards(self, orm):
10 for r in orm.Repute.objects.all():
11 r.value = r.positive + r.negative
12 r.user_previous_rep = r.reputation - r.value
16 def backwards(self, orm):
17 for r in orm.Repute.objects.all():
25 r.reputation = r.user_previous_rep + r.value
30 'Meta': {'object_name': 'Group'},
31 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
33 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'})
36 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
37 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
38 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
39 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
40 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
43 'Meta': {'object_name': 'User'},
44 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
45 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
46 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
47 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'blank': 'True'}),
48 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
49 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
50 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
51 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
52 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
53 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
54 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
55 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'blank': 'True'}),
56 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
58 'contenttypes.contenttype': {
59 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
60 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
61 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
62 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
63 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
66 'Meta': {'object_name': 'Activity', 'db_table': "u'activity'"},
67 'active_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
68 'activity_type': ('django.db.models.fields.SmallIntegerField', [], {}),
69 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
70 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
71 'is_auditted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
72 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
73 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
75 'forum.anonymousanswer': {
76 'Meta': {'object_name': 'AnonymousAnswer'},
77 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
78 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
79 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
80 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
81 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'anonymous_answers'", 'to': "orm['forum.Question']"}),
82 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
83 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
84 'text': ('django.db.models.fields.TextField', [], {}),
85 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
87 'forum.anonymousquestion': {
88 'Meta': {'object_name': 'AnonymousQuestion'},
89 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
90 'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
91 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
92 'ip_addr': ('django.db.models.fields.IPAddressField', [], {'max_length': '15'}),
93 'session_key': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
94 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
95 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
96 'text': ('django.db.models.fields.TextField', [], {}),
97 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
98 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'})
101 'Meta': {'object_name': 'Answer', 'db_table': "u'answer'"},
102 'accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
103 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
104 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']", 'null': 'True'}),
105 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
106 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.User']"}),
107 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
108 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
109 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
110 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
111 'html': ('django.db.models.fields.TextField', [], {}),
112 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
113 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
114 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_answers'", 'null': 'True', 'to': "orm['forum.User']"}),
115 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
116 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answers'", 'to': "orm['forum.Question']"}),
117 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
118 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
119 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
120 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
121 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
123 'forum.answerrevision': {
124 'Meta': {'object_name': 'AnswerRevision', 'db_table': "u'answer_revision'"},
125 'answer': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Answer']"}),
126 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'answerrevisions'", 'to': "orm['forum.User']"}),
127 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
128 'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
129 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
130 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
131 'text': ('django.db.models.fields.TextField', [], {})
133 'forum.authkeyuserassociation': {
134 'Meta': {'object_name': 'AuthKeyUserAssociation'},
135 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
136 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
137 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
138 'provider': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
139 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'auth_keys'", 'to': "orm['forum.User']"})
142 'Meta': {'unique_together': "(('content_type', 'object_id', 'user', 'badge'),)", 'object_name': 'Award', 'db_table': "u'award'"},
143 'awarded_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
144 'badge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'award_badge'", 'to': "orm['forum.Badge']"}),
145 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
146 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
147 'notified': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
148 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
149 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'awards'", 'to': "orm['forum.User']"})
152 'Meta': {'unique_together': "(('name', 'type'),)", 'object_name': 'Badge', 'db_table': "u'badge'"},
153 'awarded_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
154 'awarded_to': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'badges'", 'through': "'Award'", 'to': "orm['forum.User']"}),
155 'description': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
156 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
157 'multiple': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
158 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
159 'slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'blank': 'True'}),
160 'type': ('django.db.models.fields.SmallIntegerField', [], {})
163 'Meta': {'object_name': 'Comment', 'db_table': "u'comment'"},
164 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
165 'comment': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
166 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
167 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
168 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
169 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_comments'", 'null': 'True', 'to': "orm['forum.User']"}),
170 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
171 'liked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'comments_liked'", 'through': "'LikedComment'", 'to': "orm['forum.User']"}),
172 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
173 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
174 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['forum.User']"})
176 'forum.favoritequestion': {
177 'Meta': {'unique_together': "(('question', 'user'),)", 'object_name': 'FavoriteQuestion', 'db_table': "u'favorite_question'"},
178 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
179 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
180 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
181 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_favorite_questions'", 'to': "orm['forum.User']"})
183 'forum.flaggeditem': {
184 'Meta': {'object_name': 'FlaggedItem', 'db_table': "u'flagged_item'"},
185 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
186 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
187 'flagged_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
188 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
189 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
190 'reason': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True'}),
191 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'flaggeditems'", 'to': "orm['forum.User']"})
194 'Meta': {'object_name': 'KeyValue'},
195 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
196 'key': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
197 'value': ('forum.models.utils.PickledObjectField', [], {})
199 'forum.likedcomment': {
200 'Meta': {'object_name': 'LikedComment'},
201 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
202 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
203 'comment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Comment']"}),
204 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
205 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
208 'Meta': {'object_name': 'MarkedTag'},
209 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
210 'reason': ('django.db.models.fields.CharField', [], {'max_length': '16'}),
211 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user_selections'", 'to': "orm['forum.Tag']"}),
212 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tag_selections'", 'to': "orm['forum.User']"})
215 'Meta': {'object_name': 'Question', 'db_table': "u'question'"},
216 'added_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
217 'answer_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
218 'answer_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
219 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questions'", 'to': "orm['forum.User']"}),
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 'comment_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
225 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
226 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
227 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
228 'favorited_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'favorite_questions'", 'through': "'FavoriteQuestion'", 'to': "orm['forum.User']"}),
229 'favourite_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
230 'followed_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'followed_questions'", 'to': "orm['forum.User']"}),
231 'html': ('django.db.models.fields.TextField', [], {}),
232 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
233 'last_activity_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
234 'last_activity_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'last_active_in_questions'", 'to': "orm['forum.User']"}),
235 'last_edited_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
236 'last_edited_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'last_edited_questions'", 'null': 'True', 'to': "orm['forum.User']"}),
237 'offensive_flag_count': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
238 'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
239 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'subscriptions'", 'through': "'QuestionSubscription'", 'to': "orm['forum.User']"}),
240 'summary': ('django.db.models.fields.CharField', [], {'max_length': '180'}),
241 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
242 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'questions'", 'to': "orm['forum.Tag']"}),
243 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
244 'view_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
245 'vote_down_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
246 'vote_up_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
247 'wiki': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
248 'wikified_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
250 'forum.questionrevision': {
251 'Meta': {'object_name': 'QuestionRevision', 'db_table': "u'question_revision'"},
252 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'questionrevisions'", 'to': "orm['forum.User']"}),
253 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
254 'question': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'revisions'", 'to': "orm['forum.Question']"}),
255 'revised_at': ('django.db.models.fields.DateTimeField', [], {}),
256 'revision': ('django.db.models.fields.PositiveIntegerField', [], {}),
257 'summary': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
258 'tagnames': ('django.db.models.fields.CharField', [], {'max_length': '125'}),
259 'text': ('django.db.models.fields.TextField', [], {}),
260 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'})
262 'forum.questionsubscription': {
263 'Meta': {'object_name': 'QuestionSubscription'},
264 'auto_subscription': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
265 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
266 'last_view': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 6, 11, 30, 3, 497000)'}),
267 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
268 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
271 'Meta': {'object_name': 'Repute', 'db_table': "u'repute'"},
272 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
273 'negative': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
274 'positive': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
275 'question': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.Question']"}),
276 'reputation': ('django.db.models.fields.IntegerField', [], {'default': '1'}),
277 'reputation_type': ('django.db.models.fields.SmallIntegerField', [], {}),
278 'reputed_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
279 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reputes'", 'to': "orm['forum.User']"}),
280 'user_previous_rep': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
281 'value': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'})
283 'forum.subscriptionsettings': {
284 'Meta': {'object_name': 'SubscriptionSettings'},
285 'all_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
286 'all_questions_watched_tags': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
287 'enable_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
288 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
289 'member_joins': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1'}),
290 'new_question': ('django.db.models.fields.CharField', [], {'default': "'d'", 'max_length': '1'}),
291 'new_question_watched_tags': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
292 'notify_accepted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
293 'notify_answers': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
294 'notify_comments': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
295 'notify_comments_own_post': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
296 'notify_reply_to_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
297 'questions_answered': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
298 'questions_asked': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
299 'questions_commented': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
300 'questions_viewed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
301 'subscribed_questions': ('django.db.models.fields.CharField', [], {'default': "'i'", 'max_length': '1'}),
302 'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'subscription_settings'", 'unique': 'True', 'to': "orm['forum.User']"})
305 'Meta': {'object_name': 'Tag', 'db_table': "u'tag'"},
306 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'created_tags'", 'to': "orm['forum.User']"}),
307 'deleted': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
308 'deleted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
309 'deleted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'deleted_tags'", 'null': 'True', 'to': "orm['forum.User']"}),
310 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
311 'marked_by': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'marked_tags'", 'through': "'MarkedTag'", 'to': "orm['forum.User']"}),
312 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
313 'used_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'})
316 'Meta': {'object_name': 'User', '_ormbases': ['auth.User']},
317 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
318 'bronze': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
319 'date_of_birth': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
320 'email_isvalid': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
321 'email_key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True'}),
322 'gold': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
323 'hide_ignored_questions': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
324 'is_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
325 'last_seen': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
326 'location': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
327 'questions_per_page': ('django.db.models.fields.SmallIntegerField', [], {'default': '10'}),
328 'real_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
329 'reputation': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}),
330 'silver': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
331 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}),
332 'website': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'})
334 'forum.validationhash': {
335 'Meta': {'unique_together': "(('user', 'type'),)", 'object_name': 'ValidationHash'},
336 'expiration': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2010, 4, 7, 11, 30, 3, 573000)'}),
337 'hash_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
338 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
339 'seed': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
340 'type': ('django.db.models.fields.CharField', [], {'max_length': '12'}),
341 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['forum.User']"})
344 'Meta': {'object_name': 'Vote', 'db_table': "u'vote'"},
345 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
346 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
347 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
348 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
349 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'votes'", 'to': "orm['forum.User']"}),
350 'vote': ('django.db.models.fields.SmallIntegerField', [], {}),
351 'voted_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'})
355 complete_apps = ['forum']