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